Discord Bot Guide
Setting Up a Discord Bot for Webhooks & Commands
This guide walks you through creating a Discord bot, getting its token, and configuring it to send messages and receive commands in your server.
Step 1: Create a Discord Bot
Click New Application in the top-right.
Name your bot (e.g., AP Buddy Bot).
(Optional) Set an avatar for your bot.
Step 2: Get the Bot Application ID and Token
On the General Information tab, copy the Application ID and save it for later (or add it to your AP Buddy config).
On the Bot tab, scroll to the Token section.
Click Reset Token, then copy and save it (or add it to your AP Buddy config).
⚠️ Warning: Never share your bot token! If leaked, reset it immediately.
Step 3: Set Up the Bot's Permissions
Your bot needs permissions to send messages.
Go to the OAuth2 → URL Generator tab.
Under Bot Permissions, check:
Copy the generated OAuth2 URL.
Open it in your browser and invite the bot to your Discord server.
Step 4: Get a Discord Channel ID
AP Buddy needs a channel ID to know where to send messages.
In Discord, go to User Settings → Advanced.
Right-click the channel you want AP Buddy to use.
Save it for AP Buddy's configuration.
Step 5: Get a Discord Server ID
AP Buddy also needs a server ID for command permissions.
In Discord, right-click the server icon where you added your AP Buddy bot.
Save it for later (or add it to your AP Buddy config).
Configure AP Buddy with the Application ID, Token, Channel ID, and Server ID, and start using it!
Last updated