Updating the bot
-
Make a backup of your current bot directory in case of issues so you have the option to revert back.
-
Make sure not to delete your
data
directory otherwise you might run into issues with tickets that you did not delete yet. -
Download the new release/files and replace the current files with the ones you downloaded.
-
If you already followed the installation process, you can use the latest
config.yml.example
you downloaded to manually add any new config options to your config.yml. -
If any dependencies got updated, you will have to delete your
node_modules
directory and install the dependencies again after you’ve already uploaded the new files: -
Start the updated bot: