Discord Bot

Short tutorial of how to create a discord bot to use for our scripts.

1

Access the Discord Developer Portal

  1. Open your web browser and go to the Discord Developer Portal

  2. Ensure you are logged in to your Discord account.

2

Create a New Application

  1. Click on the "New Application" button.

  2. A modal will appear. Enter a name for your application (this will be the name associated with your bot) and click "Create".

3

Create a Bot User

  1. In the left-hand menu of your application's page, click on "Bot".

  2. Click the "Add Bot" button.

  3. Confirm the action by clicking "Yes, do it!".

4

Obtain the Bot Token

  1. You are now on your bot's page. Under the "Token" section, you will see a button that says "Reset Token".

  2. Click the "Reset Token" button.

  3. A pop-up will appear asking you to confirm the action. Click "Yes, do it!".

  4. Your bot's token will now be displayed. Click the "Copy" button to copy the token to your clipboard.

  5. Save this info to be used in our scripts.

Important Security Note: Your bot's token is like a password. Never share it with anyone. If your token is compromised, someone else could control your bot. If you accidentally share your token, immediately regenerate it by repeating steps 1-4. Regenerating the token will invalidate the old one.

5

Invite the Bot to Your Server

  1. In the left-hand menu, click on "OAuth2" and then "URL Generator".

  2. Under "Scopes", check the box next to "bot".

  3. Under "Bot Permissions", select the permissions you want your bot to have in your server. Choose carefully, as these permissions determine what actions your bot can perform.

  4. A URL will be generated at the bottom of the page. Copy this URL.

  5. Open the copied URL in a new browser tab.

  6. Select the server you want to add the bot to from the dropdown menu.

  7. Click "Authorize".

  8. Complete the CAPTCHA if prompted.

Your bot should now be in your server.

6

Go back to the script you're trying to install!

Last updated