OAuth2 and Invite
Now it's time to set up OAuth2 scopes and permissions so your bot can be invited to your Discord server.
In the Developer Portal, click the "OAuth2" tab in the sidebar, then select "URL Generator".
Under Scopes, select:
bot
applications.commands
Under Bot Permissions, select:
Administrator
(This gives the bot full control over your server—only assign it if you trust the bot and its code.)
Copy the generated invite URL to your clipboard.
Final step:
Paste the invite URL into your browser.
Choose the Discord server (guild) where you want to add the bot.
Click Continue and follow the prompts to authorize the bot.
🎉 That’s it! You’ve successfully created and invited your bot. Head over to your Discord server and type the slash command:
/assemble
Last updated