Self-hosting
A quick guide on how to get your own, self-hosted version of the bot up and running!
Last updated
Was this helpful?
A quick guide on how to get your own, self-hosted version of the bot up and running!
Last updated
Was this helpful?
I'd recommend adding the official bot to the server to ensure you get the latest updates more easily and, eventually, are able to compete against other servers using the same bot.
If you really want to host your own version, however, read on to find out how!
Create a file called config.json
in the root of the project directory. Place the CLIENT_ID
and CLIENT_TOKEN
from your own bot application into it like so:
If everything is working correctly, you should see the bot appear as online in the sidebar of your server!
You'll probably notice that closing the terminal window stops the bot from responding to any messages. Not exactly ideal...
Once installed, just navigate into the countable
directory and enter the following commands to get it up and running:
Once that's all done, you can go ahead and close the terminal window and your bot should continue to run like normal.
Use this to add your bot to a server of your choice. Once done, you can test whether the bot works correctly with the following command.
For the official bot I use a package called to manage the process and make sure it doesn't randomly crash and stop working.