Navigation
Discord Bot Token
Setup your custom Discord bot for enhanced control
Learn how to create your own custom Discord bot and integrate it with Flake for enhanced control, branding, and dedicated resources. This feature is available exclusively for paid license holders.
Overview
What is a Discord Bot Token?
A Discord bot token is a unique authentication key that allows Flake to interact with your Discord server on behalf of a bot. Think of it as a secure password that gives Flake permission to send messages, manage channels, and perform other actions in your Discord server.
Create bot application
Connect with token
Secure Authentication
Your bot token provides secure authentication with Discord's API
Full API Access
Token grants access to all Discord features your bot needs
Easy Integration
Simply paste your token into Flake to connect your Discord server
Permission Control
Configure exactly which permissions your bot requires
Server Management
Manage multiple Discord servers with individual bot tokens
Real-time Updates
Instant synchronization between Discord and Flake platform
Paid License Required — Custom Discord bot tokens are only available for paid license holders. Free tier users automatically use Flake's shared bot.
ProStep-by-Step Setup
Ready to connect?
Once you have your bot token, head to your Flake dashboard to add your Discord server.
Required Permissions
Configure the right permissions for your bot to ensure all Flake features work correctly in your Discord server.
Bot Permissions Explained
Understanding what each permission allows your bot to do
| Permission | Description | Status |
|---|---|---|
Send Messages | Required for the bot to send messages in channels | Required |
Read Message History | Allows the bot to read previous messages for context | Required |
Manage Messages | Needed for moderation features like deleting messages | Optional |
Embed Links | Allows the bot to send rich embed messages | Required |
Attach Files | Required for sending images and file attachments | Optional |
Use Slash Commands | Enables modern Discord slash commands | Required |
Permission Best Practices
- Only grant permissions your bot actually needs
- You can always add more permissions later if needed
- Server admins can override bot permissions on a per-channel basis
- Some features won't work without the required permissions
Security Best Practices
Keep It Secret
Never share your bot token publicly or in screenshots
Regenerate If Compromised
If your token is exposed, immediately reset it in the Developer Portal
Limit Permissions
Only grant the minimum permissions your bot actually needs
Critical Security Warning
ImportantYour bot token is like a password that gives full access to your bot. If someone gets your token, they can control your bot and potentially cause damage to your server.
Sharing token in screenshots, Discord messages, or public repositoriesStoring token securely in Flake dashboard onlyTroubleshooting
I can't see the bot token
Click "Reset Token" to generate a new token. The old token will be invalidated, so make sure to update it in all places where it's used.
Bot isn't responding in my server
Check that the bot has the necessary permissions in your server and that you've enabled the required Gateway Intents in the Developer Portal.
Getting "Unauthorized" errors
This usually means your bot token is incorrect or has been reset. Double-check that you've copied the token correctly and that it hasn't been regenerated.
Can't add bot to server
Make sure you have "Manage Server" permissions in the Discord server and that the invite link includes the necessary bot permissions.
Still having issues?
If you're experiencing problems not covered here, our support team is ready to help.