Get Your Developer Badge
How to Run Your Discord Bot
- Go to the Discord Developer Portal and select your bot application or create one.
- Go to the Installation tab:
- Under Installation Contexts, uncheck User Install and leave only Guild Install checked.
- Set Install Link to None.
- Next, go to the Bot tab, make it private, then scroll to Privileged Gateway Intents and enable all three intents: Presence Intent, Server Members Intent, and Message Content Intent.
- Reset bot token under Token and copy it.
- Go to OAuth2 → URL Generator, choose the
botscope. - For Bot Permissions, select Administrator.
- Copy the generated invite URL and open it in a browser to invite your bot to your server.
- Enter the copied token and press 🚀 Start Bot.