General information
Note
If you are a developer, the Development installation page may be more suitable for you.
If you want to deploy your bot instance, take a look at Containers, Direct installation or Kubernetes (experimental).
To set up the bot, we recommend using Docker Containers as it’s the easiest way.
Bot token
Token is equivalent to yours username & password. Every Discord bot uses their token to identify themselves, so it’s important that you keep your bot’s token on private place.
Go to Discord Developers page, click New Application button and fill the form.
Go to the Bot tab on the left and convert your application to bot by clicking Add Bot. Then enable all Privileged Gateway Intents (Presence, Server Members, Message Content). There are warnings about 100 servers, but we don’t need to worry about it.
On the top of this page, there is a Token section and a Reset Token button.
Copy the generated token and put it into your .env file (if you don’t have any, see the section Environment file or Environment file) after the TOKEN=.
Open your .env file and put the token in.
You can invite the bot to your server by going to the OAuth2/URL Generator page, selecting bot and applications.commands scopes and Administrator bot permission to generate a URL. Open it in new tab. You can invite the bot only to the servers where you have Administrator privileges.
Installing modules
Installing modules is done through the repository command of the bot instance or by manually cloning the module as described in Developing modules.
To get more info about the repository command, please refer to help repo command of the bot instance.