Step 7 — Invite the Bot to Your Server
- In the Discord Developer Portal, go to OAuth2 → URL Generator
- Under Scopes, select:
botapplications.commands
- Under Bot Permissions, select:
Manage Roles(only needed if you use the Linked Role feature)Send Messages
- Copy the generated URL, open it in your browser, and invite the bot to your server