RUST++
Discord Bot Setup Documentation
Create a Discord Bot
- Go to
Discord Developers Applications
. - Click on the button
New Application
.
- Enter the name for the Bot and click
Create
.
- Copy the
APPLICATION ID
to the config/index.js file located in repository folderrustplusplus/config/index.js
.
- Click on
Bot
and then onAdd Bot
.
- Click on
Yes, do it!
.
- Click on
Reset Token
and thenYes, do it!
.
- Copy the
TOKEN
to the config/index.js file located in repository folderrustplusplus/config/index.js
.
- Scroll down to
Privileged Gateway Intents
and enable them all.
- Click on
OAuth2
and thenURL Generator
.
- Under
SCOPES
selectbot
andapplications.commands
.
- Under
BOT PERMISSIONS
selectAdministrator
.
- Copy the
GENERATED URL
and paste it into your URL browser.
- Add the bot to desired Discord Server and click
Continue
.
- Click on
Authorise
.
- The Bot should now be visible in your Discord Server.
- Start the bot by running
npm start run
in the terminal (First time running the bot will create all of the missing discord text channels).
You have now successfully added a Discord Bot with the desired permissions to your Discord Server. You have also added the Application/Client ID and Bot Token to the configuration file as well as started the bot for the first time.