Modmail icon indicating copy to clipboard operation
Modmail copied to clipboard

Add a plugin update all command

Open infinitepower18 opened this issue 7 years ago • 2 comments

What the title says. [p]plugin update all to update all installed plugins.

infinitepower18 avatar Oct 02 '19 17:10 infinitepower18

I think that restarting the bot will result in a faster reload (and thus update) of the plugins. You can execute an eval like shown in the image below. However, if you're using Heroku, the plugins will auto update around every 24 hours. When you're using something like pm2 on a VPS, you can (and should) set the bot to restart every day as well.

image

robinmahieu avatar Oct 02 '19 18:10 robinmahieu

Will be implemented in v3.3.0, ?plugins update. Furthermore, to slightly correct Papier's comment, plugins do not automatically update upon restart in the v3.2 as caches are used instead of redownloading every time the bot is loaded (located in temp/plugins-cache). Heroku, however, will still update the plugins every 24h due to its nature of wiping the file system.

Taaku18 avatar Oct 07 '19 02:10 Taaku18