Updating

Version Requirements

Each version of the bot also has a corresponding minimum version of Discord.js that is required for it to run. Please see the chart below for how these versions line up. In most cases, your Node.js version should match that of your bot.

VersionDiscord.jsNode.jsSupported

0.x.x

13.16.x

16.6.x

1.0.x

13.16.x

16.6.x

Fast Upgrade

You can simply run the following command to perform a self-upgrade of the Bot. This will download all of the necessary files, dependencies, and actions to perform the upgrade.

npm run upgrade

Then there you go! You can restart your bot to apply the new fresh code.

Last updated