Skip to main content

Create the Praise Discord bot

Step 1 โ€“ย Enable Developer Modeโ€‹

Discord Developer Mode needs to be enabled so that you can copy object IDs from discord's UI. You can toggle this setting in the Advanced section of your Discord User Settings.

Developer Mode toggle in Advanced section of Discord user settings

Step 2 โ€“ Note Discord Guild IDโ€‹

Right click on your Discord server icon and select Copy ID. Take note of this value, in the Praise ENV settings it is called Discord Guild ID.

Step 3 โ€“ Create Discord applicationโ€‹

  • Log into the Discord Developer Portal using your discord credentials.
  • Under Applications click on New Application on the top right. New Application Button in top right of page
  • Choose a suitable name for your application.

Step 4 โ€“ Add bot to applicationโ€‹

  • Open the Bot tab in the info page of the application you just created
  • Create a bot using the Add Bot button.
  • In the Bot tab, find the Privileged Gateway Intents section and enable SERVER MEMBERS INTENT and MESSAGE CONTENT INTENT.

Step 5 โ€“ Reset and copy bot tokenโ€‹

  • Press the Reset Token button to reset and generate a bot token.
  • Copy and note the generated bot token. This is the Praise ENV settings Discord Token.
danger

Do not share this token publicly and ensure that it isn't posted anywhere.

Step 6 โ€“ Note Discord Client IDโ€‹

  • Go to the OAuth2 tab of your application.
  • Copy and note CLIENT ID. This is the Praise ENV settings Discord Client ID.

Step 7 โ€“ Invite bot to Discord serverโ€‹

Invite the bot to your server using this link:

https://discord.com/api/oauth2/authorize?client_id=<CLIENT ID>&permissions=274878023680&scope=bot%20applications.commands

Replace <CLIENT ID> with the numeric CLIENT ID you just copied.

Done ๐ŸŽ‰โ€‹

If you have taken note of the Discord Guild ID, Discord Token and Discord Client ID, you have all the information you need to proceed with the configuration of Praise.