[Docs] Autostart and restart on Windows #3893
Labels
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Mrcoolgamer11/Red-DiscordBot!3893
Loading…
Reference in a new issue
No description provided.
Delete branch "Docs]Autostart-Windows"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Description of the changes
Added how to create a batch file that allows the bot to be restarted and it also checks if a windows scheduled task exist to start the bot on windows startup, if not it will create it.
I'm personally not in favour of auto updates, updates should be something a owner takes action to ensure they have up to date requirements.
Yes it's more convenient, but convenience is not always better than explicitly
Also not to mention, you shouldn't run red as an admin. Ever.
I will change the update to be false from the beginning and if the user want to have auto update he can just enable it.
That is true you should never do it but the bot will only run as admin if you right click and run it as admin.
I mean it shouldn't be an option to start with it available in the docs I mean.
By having it there it means it's supported, supporting auto updates is problematic
Same applies to telling them to run as admin.
Ohh i see, i will make some changes!
I removed auto update and task creation from the script and instead added how to sett up the task by command.
Considering there is already one PR adding auto-restart (#2726) and that there's been no prior discussion on the approach taken here, I would like to mention that this PR might not get accepted if our team decides that we can't support this approach if for example there are some flaws in it.
Also for the next time, please file an issue or start a conversation on Red server for any new additions that have not been proposed already or, if you have alternative proposals to already requested additions, please propose them in already existing issue. It may save you from losing time on an addition that we may not be able to accept. Communication is key :)
Superseded by #5996.
Pull request closed