Red-DiscordBot
Red-DiscordBot copied to clipboard
Add a command to ignore checking updates on bot's startup
What component of Red (cog, command, API) would you like to see improvements on?
Core
Describe the enhancement you're suggesting.
I've been kind of spammed by my bot each time I had to reboot my Raspberry Pi which host multiple things, and also a Red instance, however I am not interested to update my Red instance for a patch update (3.4.12 -> 3.4.14 in my case), and it made me thought, "Wouldn't it be nice to be able to ignore update checks everytime my bot start?"
Any modern program of today usually allow you to either ignore this specific version or ignore all new versions. I think it would be great if we add a command that would make Red ignore update checking. As I can think off, [p]ignorecheckupdates
.
Anything else?
I think the command I am proposing could have 2 ways to be used:
1st proposition
The command has the following syntax: [p]ignorecheckupdates
.
When we run it, the command will ask how do we want to ignore new updates, like this:
(Text is NOT final)
2nd proposition
The command has the following syntax: [p]ignorecheckupdates [choice]
.
The docstring will contain pretty much the same explainations like above, it'll simply just not be a MessagePredicate anymore.
Related: #3074
I am inclined to say that the "latest" option is great, maybe not for the "all" one when reading #3074, yet I think it'd be nice to have both. A supplementary warning could be added to convince the user to not ignore all future updates. When making this issue, I most especially thought for developer who might test older versions or just simply not interested to update bots that doesn't need to be up to date, so they should already be self-aware of what ignoring future updates is.
I think if anything it should be an unsupported CLI flag with the relevant warnings, --disable-checked-update
I do not completely approve the idea, as it would kill the possibility to have a choice of unsubscribing updates, and I really think it's important to be able to just ignore one specific update. But I am kind of more pleased with a flag. Has to be decided.
I think if anything it should be an unsupported CLI flag with the relevant warnings, --disable-checked-update
I though about this too, Wouldn't be to bad tbh.