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 a password. Never share it publicly, commit it to Git, or post it in Discord. If it leaks, reset it right away.

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

  1. Click the "New Application" button in the top right
  2. Enter a name for your bot (e.g., "My Server Bot")
  3. Accept Discord's Terms of Service
  4. Click "Create"

The name you choose here becomes your bot's initial username. You can change it later.

Step 3: Open the Bot Tab

  1. In the left sidebar, click on "Bot"
  2. Click the "Add Bot" button
  3. Confirm by clicking "Yes, do it!"

Discord creates a bot user for your application.

Step 4: Copy Bot Token

Now you'll get your bot token:

  1. Under the bot's username, find the "TOKEN" section
  2. Click "Reset Token" (if this is your first time, it may say "Copy")
  3. Confirm if prompted
  4. Click "Copy" to copy the token to your clipboard

Important

Discord shows the token once. Lose it and you reset it to get a new one.

Step 5: Enable Privileged Intents

VibeBot requires two Gateway Intents to function. Toggle both on in the Discord Developer Portal:

Scroll to "Privileged Gateway Intents" and enable:

Server Members Intent - Access member list and join events
Message Content Intent - Read message content

Click "Save Changes" to apply the intents. VibeBot does not use the Presence Intent, so leave it off.

Step 6: Use Token in VibeBot

Return to VibeBot:

  1. Go to your bot's configuration page in VibeBot
  2. Click the "Deploy" button
  3. Paste your Discord bot token into the token field
  4. Click "Deploy Bot"

VibeBot encrypts and stores the token, then deploys 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 both 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

Your bot token is configured and both intents are enabled. Next, deploy your bot.