Standard Practices

There are some frequently asked questions about BotGhost. Some best practices you may need in the future.

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.

Privileged Gateway Intents

Gateway intents are very important for your bot to function. Intents are required by some BotGhost modules. Intents allow us to choose which events their bot receives based on the data it needs to function, so it is best to enable the intents ahead of time to avoid future errors. If your announcement module, autoresponder module, etc. is not functioning correctly, follow the steps below:

  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 Privileged Gateway Intents and enable all the following three: Presence Intent, Server members Intent, & Message Content Intent.

Changing Your Bots Name

If you are unhappy with your bot's username, you can always change it through BotGhost's dashboard. You can do this by doing the following steps:

  1. Go to the BotGhost Dashboard.

  2. On the dashboard, go to the settings page.

  3. On the first section of the bot settings, you can change the bot's name. Remember to click "Save"!

Changing Your Bots Avatar

If you are unhappy with your bot's avatar, you can always change it through BotGhost's dashboard. You can do this by doing the following steps:

  1. Go to the BotGhost Dashboard.

  2. On the dashboard, go the settings page.

  3. On the second section of the bot settings, you can change the bot's avatar. Remember to click "Save"!

Restarting Your Bot

Your bot may need to restart your bot to have your bot function due to some unexpected errors. You can restart your bot by doing the following steps:

  1. Go to the BotGhost Dashboard.

  2. On the dashboard, go the settings page.

  3. On the sixth section of the bot settings, you can restart your bot. Press the button Restart Bot. Remember to click "Save"!

Last updated

Change request #491: Adding Suggestions Page