Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.93 KB

File metadata and controls

36 lines (23 loc) · 1.93 KB
description
There are some frequently asked questions about Shapes. Some best practices you may need in the future.

Frequently Asked Questions

OAuth2 Code Grant

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:

  1. Go to the Discord Developer portal and select your bot's application.
  2. Under your bot's application, go to the Bots tab.
  3. Under the Bots tab, look underneath Authorization Flow and locate REQUIRES OAUTH2 CODE GRANT.
  4. Disable OAUTH2 CODE GRANT.
  5. Retry inviting your Discord bot.

Unable to Create In-App Authorization

  1. Go back to the Bot section on the Discord Developer Portal > make sure that the PUBLIC BOT option is enabled

Missing In-App Authorization Method

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