Overview
FERAL’s Discord channel uses the Gateway API with WebSocket to receive messages in real time. The bot can respond to commands, mentions, and DMs across any server it’s invited to.Setup
1
Create a Discord Application
Go to the Discord Developer Portal and click New Application. Name it
FERAL.2
Create a Bot user
In the application settings, go to Bot and click Add Bot. Under the bot settings:
- Toggle Message Content Intent to ON (required to read message text)
- Toggle Server Members Intent to ON (optional, for member-aware features)
- Toggle Presence Intent to OFF (not needed)
3
Copy the bot token
Click Reset Token to generate a new token. Copy it immediately — Discord only shows it once.
4
Invite the bot to your server
Go to OAuth2 → URL Generator. Select scopes:
botapplications.commands
- Send Messages
- Read Message History
- Embed Links
- Attach Files
- Use Slash Commands
5
Set the bot token in FERAL
6
Configure channel restrictions (optional)
7
Restart and test
Gateway Intents
FERAL requests these gateway intents when connecting:If your bot is in more than 100 servers, Discord requires verification to use privileged intents. For personal use this is not an issue.
Message Handling
FERAL formats responses using Discord embeds for rich output — charts, health summaries, and SDUI cards are rendered as embedded messages.
Slash Commands
FERAL automatically registers these slash commands when it connects:Troubleshooting
Bot is online but doesn't respond
Bot is online but doesn't respond
Verify that Message Content Intent is enabled in the developer portal. Without it, the bot receives events but message content is empty.
Bot not appearing in server
Bot not appearing in server
Re-generate the OAuth2 invite URL with the correct scopes (
bot, applications.commands) and re-invite.Rate limited by Discord
Rate limited by Discord
FERAL includes automatic rate limit handling. If you see 429 errors in logs, reduce message frequency or restrict to fewer channels.
