jagrosh / MusicBot

🎶 A Discord music bot that's easy to set up and run yourself!
https://jmusicbot.com
Apache License 2.0
5.39k stars 2.58k forks source link

[Feature Request] Disable available update notification #1725

Closed cuesta4 closed 1 month ago

cuesta4 commented 1 month ago

Is your feature request related to a problem? Please describe.

Sometimes we have to use unofficial versions of JBot that has fixes not yet available in the main branch. For example, the latest official version does not work for me, but an unnoficial version provided by the community does. The problem is that, since I'm not using the latest official version, the bot sends a message telling there's a new update every time I start it, which is very annoying.

What is your ideal solution to the problem?

Allow us to disable automatic update messages. Add a check to a config flag before running the "send DM" method.

How would this feature be used?

Open config file, change "update_reminder" to "false".

Additional Info

No response

Checklist

MichailiK commented 1 month ago

updatealerts already exists.

// By default, the bot will DM the owner if the bot is running and a new version of the bot
// becomes available. Set this to false to disable this feature.

updatealerts=true
cuesta4 commented 1 month ago

Sorry, I did not see this setting. Thanks for the help.