description |
---|
There are some frequently asked questions about Shapes. Some best practices you may need in the future. |
Inviting your bot is usually quite easy, although sometimes you may receive an error regarding "Bot requires a code grant." This is due to the "Requires OAuth2 Code Grant" setting enabled. You can fix this by doing the following:
- Go to the Discord Developer portal and select your bot's application.
- Under your bot's application, go to the Bots tab.
- Under the Bots tab, look underneath Authorization Flow and locate REQUIRES OAUTH2 CODE GRANT.
- Disable OAUTH2 CODE GRANT.
- Retry inviting your Discord bot.
- Go back to the
Bot
section on the Discord Developer Portal > make sure that thePUBLIC BOT
option is enabled
if you can’t find the “In-App Authorization” option, go back to the Bot
section and make sure that REQUIRES OAUTH2 CODE GRANT
option is disabled