LogoLogo
HomeDonateBastion HQ
  • Introduction
  • 📑Prerequisites
    • Add Bot to Server
    • Setup Database
    • Get API Keys
  • 📥Install
    • Install on Linux
    • Install on macOS
    • Install on Windows
    • Install on DigitalOcean
    • Install on Docker
  • ⚙️Configure
    • Configure Bastion
    • Publish Commands
  • ▶️Run
    • Run on Linux
    • Run on macOS
    • Run on Windows
    • Run on Docker
  • 📤Update
    • Update on Linux
    • Update on macOS
    • Update on Windows
    • Update on Docker
  • 👩‍💻Developers
    • Code of Conduct
    • Contributing Guidelines
      • Issues
      • Pull Requests
  • 🪜Migrate
    • Upgrade from v8 to v10
Powered by GitBook

Copyright © 2022 — TRACTION

On this page
  • Creating Discord Bot Application
  • Inviting your Bot to Discord

Was this helpful?

Edit on GitHub
Export as PDF
  1. Prerequisites

Add Bot to Server

PreviousIntroductionNextSetup Database

Last updated 2 years ago

Was this helpful?

Creating Discord Bot Application

Go to the .

After you've logged in, click on the New Application button.

Here you can set some cool the name for your application, like Dark Lord or Bastion! You can also set a neat avatar for your bot that will be displayed to everyone in Discord.

After you are done with customizing your Discord application, you will need to create a bot that will be associated with that application. To do that, go to the Bot tab in the left sidebar and then click on the Add Bot button to give your application a visible life in Discord.

After you create a bot, you will find a few more options in there.

Make sure to disable the Public Bot and Requires OAuth2 Code Grant options and enable the Presence Intent, Server Members Intent and Message Content Intent options.

Inviting your Bot to Discord

You will need your bot's Client ID (remember?) during this step.

Copy the following link, and replace the INSERT_APP_ID_HERE in the URL with your bot's Application ID and paste the link in your browser and follow the instructions.

https://discord.com/oauth2/authorize?client_id=INSERT_APP_ID_HERE&scope=bot&permissions=8

You will be asked by Discord to select the server where you want to invite your bot. Select your server and invite your bot!

You can only invite bots to the servers where you have the Manage Server permission. Members with Administrator permission have every permission in the server. So, if you have that, it will do fine.

Now go and check out your server and you will find that your bot has joined your server.

📑
Discord Developer portal
Discord Developer Portal — API Docs for Bots and DevelopersDiscord Developer Portal
Logo
Disable the Public Bot and Requires OAuth2 Code Grant options.
Enable the Presence Intent, Server Members Intent and Message Content Intent options.