Set up a custom Discord bot for ServerMate.
This guide walks through creating your bot, enabling the correct intents, inviting it to your server, saving the token, and deploying ticket panels through it.
Create Bot
Open the Discord Developer Portal, create a new application, then add a bot user under the Bot tab.
Enable Intents
In the Bot tab, scroll to Privileged Gateway Intents and enable the required intents.
Copy Token
Use Reset Token or Copy Token from the Bot tab. Keep this token private and never post it publicly.
Invite Bot
In ServerMate, paste and test the token first. Once the bot ID is detected, use the Invite Custom Bot button from the dashboard.
Save Token
Go to Dashboard > Custom Bot, paste the token, test it, then save. ServerMate encrypts the token before storing it.
Deploy Panels
After the custom bot is online, deploy or update a panel. If it lacks channel permissions, ServerMate will show the exact missing permission error.
Troubleshooting
Most custom bot issues come from missing intents, missing channel permissions, or the bot not being invited to the server.
Used disallowed intents: enable Server Members Intent and Message Content Intent.
Bot is offline: wait up to 60 seconds, then restart the main ServerMate bot if needed.
Cannot deploy panel: give the custom bot View Channel, Send Messages, and Embed Links in that channel.