Getting Your Discord Bot Token
Step-by-step guide to creating a Discord bot application and obtaining your bot token.
Security Warning
Your bot token is like a password. Never share it publicly, commit it to Git, or post it in Discord. If exposed, regenerate it immediately.
Step 1: Access Discord Developer Portal
Go to the Discord Developer Portal:
Log in with your Discord account if you haven't already.
Step 2: Create New Application
- Click the "New Application" button in the top right
- Enter a name for your bot (e.g., "My Server Bot")
- Accept Discord's Terms of Service
- Click "Create"
The name you choose here will be your bot's initial username (you can change it later).
Step 3: Navigate to Bot Tab
- In the left sidebar, click on "Bot"
- Click the "Add Bot" button
- Confirm by clicking "Yes, do it!"
Discord will create a bot user for your application.
Step 4: Copy Bot Token
Now you'll get your bot token:
- Under the bot's username, find the "TOKEN" section
- Click "Reset Token" (if this is your first time, it may say "Copy")
- Confirm if prompted
- Click "Copy" to copy the token to your clipboard
Important: The token will only be shown once! If you lose it, you'll need to regenerate it.
Step 5: Enable Privileged Intents
For your bot to work properly, you need to enable certain permissions:
Scroll down to "Privileged Gateway Intents" and enable:
Make sure to click "Save Changes" at the bottom after enabling these intents.
Step 6: Use Token in VibeBot
Now that you have your token, return to VibeBot:
- Go to your bot's configuration page in VibeBot
- Click the "Deploy" button
- Paste your Discord bot token into the token field
- Click "Deploy Bot"
VibeBot will securely store your token and use it to connect your bot to Discord.
Troubleshooting
Invalid Token Error
If you get an "Invalid Token" error:
- Make sure you copied the entire token without extra spaces
- Check that you're using the Bot token, not the Client Secret
- Try regenerating the token and copying it again
Bot Not Responding
If your bot deploys but doesn't respond:
- Verify all three Privileged Intents are enabled
- Make sure you saved changes on Discord Developer Portal
- Try re-deploying your bot after enabling intents
Token Compromised
If your token was accidentally exposed:
- Go back to Discord Developer Portal immediately
- Click "Reset Token" to generate a new one
- Update the token in VibeBot and re-deploy
Success!
You now have your Discord bot token and have configured the necessary intents. Continue to deploy your bot and invite it to your server.