Discord Channel Configuration
Connect your Memoh bot to Discord to join servers and chat with community members in channels and direct messages.
Prerequisites
- A Discord account with access to the Discord Developer Portal.
- A Discord server you can authorize the bot into.
- A Memoh bot; channels are configured from its Platforms tab.
Steps
1. In the Discord Developer Portal, create an application and get the bot token
- Go to the Discord Developer Portal.
- Click New Application and give it a name.
- In the left sidebar, go to Bot.
- Click Reset Token to generate a Bot Token. Copy this token and store it securely.
2. In the Discord Developer Portal, enable privileged gateway intents
- On the Bot page, scroll down to the Privileged Gateway Intents section.
- Enable
Message Content Intent,Server Members IntentandPresence Intent. - Save changes.
3. In the Discord Developer Portal, invite the bot to your server
- Go to OAuth2 > URL Generator.
- Select scopes:
bot,applications.commands. - Select permissions:
Send Messages,Read Message History,Embed Links,Attach Files. - Copy the generated URL and open it in your browser.
- Select the server you want to add the bot to and authorize it.
Official guide: Discord Developer Portal - Bots
4. In Memoh, add the Discord channel
- Open your bot's detail page and go to the Platforms tab.
- Click Add Channel and select Discord.
- Paste the Bot Token.
- Click Save and Enable.
Credentials
| Field | Description |
|---|---|
| Bot Token | Generated with Reset Token on the application's Bot page. Store it securely. |
Verify
Send the bot a direct message with /help, or @mention it in a channel of a server it has joined. If the bot replies with its command list, the channel is working.
Group chats
Discord servers are supported. After the bot is authorized into a server, @mention it in a channel to talk to it there.
Disable and rotate credentials
You can disable or remove this channel at any time from the bot's Platforms tab. To rotate the token, update the Bot Token field and save.