RUST++

Discord Bot Setup Documentation

Create a Discord Bot

  1. Go to Discord Developers Applications.
  2. Click on the button New Application.
new-application-bot-setup
  1. Enter the name for the Bot and click Create.
create-an-application-bot-setup
  1. Copy the APPLICATION ID to the config/index.js file located in repository folderrustplusplus/config/index.js.
copy-application-id-bot-setup
  1. Click on Bot and then on Add Bot.
bot_bot_setup
  1. Click on Yes, do it!.
yes-create-bot-bot-setup
  1. Click on Reset Token and then Yes, do it!.
reset-token-bot-setup
  1. Copy the TOKEN to the config/index.js file located in repository folder rustplusplus/config/index.js.
bot-token-bot-setup
  1. Scroll down to Privileged Gateway Intents and enable them all.
privileged-gateway-intents-bot-setup
  1. Click on OAuth2 and then URL Generator.
oauth2_bot_setup
  1. Under SCOPES select bot and applications.commands.
scopes_bot_setup
  1. Under BOT PERMISSIONS select Administrator.
bot-permissions-bot-setup
  1. Copy the GENERATED URL and paste it into your URL browser.
generated-url-bot-setup
  1. Add the bot to desired Discord Server and click Continue.
add-bot-to-server-bot-setup
  1. Click on Authorise.
authorise-bot-setup
  1. The Bot should now be visible in your Discord Server.
bot-in-server-bot-setup
  1. 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.