Discord Bot Setup: Token, Intents & OAuth2
Everything you need to configure in the Discord Developer Portal before deploying a custom or 1-click bot.
Create a Discord application
Every Discord bot hosted on Blip Host runs under your own Discord application — meaning your own bot name, avatar, and bio.
- Open the Discord Developer Portal ↗ and sign in with your Discord account.
- Click New Application in the top-right corner.
- Enter a name for your bot (you can change it anytime), accept Discord's Developer Terms of Service, and click Create.
- Optionally upload an App Icon and write a short description on the General Information page.
Copy or reset your bot token
Your bot token is the password that lets your hosted bot log in to Discord. Discord only shows a token once when it is created or reset.
- In your application's left sidebar, open the Bot tab.
- Under the Token section, click Reset Token and confirm (Discord may ask for your 2FA code).
- Click Copy and paste it directly into Blip Host's Discord bot token field.
Also make sure you're copying a Bot Token from the Developer Portal, not a personal Discord user account token. Running bots on user accounts ("selfbots") violates Discord's Terms of Service and is blocked on Blip Host.
Enable Privileged Gateway Intents
Discord hides certain sensitive data — like message text and member joins — behind three toggles called Privileged Gateway Intents. If your bot's code requests one that is turned off in Discord, Discord rejects its login with close code 4014
.
- Stay on the Bot tab in the Discord Developer Portal and scroll down to Privileged Gateway Intents.
- Switch on only the toggles your bot actually needs, then click Save Changes at the bottom of the screen.
| Intent toggle | What it allows | Shared slot note |
|---|---|---|
| Message Content Intent | Read message text for prefix commands (like !help
), modmail, auto-mod, or AI chat replies. Slash commands do not require it. |
Fine on shared slots |
| Server Members Intent | Track member joins, leaves, role updates, welcome messages, and member lists. | Fine on shared slots |
| Presence Intent | See members' online/offline status and current games or custom statuses. | Recommended for dedicated slots |
After saving in Discord, open your bot's Overview & Logs or Env & Token tab on Blip Host and click Re-check with Discord to confirm the toggles are active.
Copy server, channel, and user IDs
Several bots (including Dragory Modmail, Testify, and Echo System) ask for your Discord User ID, Server ID, or Log Channel ID. To copy IDs in Discord:
- Open Discord and go to User Settings (the gear icon next to your username).
- Open Advanced under App Settings and turn on Developer Mode.
- Right-click any server icon, channel, or user profile and click Copy Server ID, Copy Channel ID, or Copy User ID.
OAuth2 Client Secret & Redirect URLs
Bots with built-in web dashboards (such as Discord Tickets and Testify) let you sign in with Discord using OAuth2. You'll need two things from the same page in the Discord Developer Portal:
- Open your application in the Discord Developer Portal and go to OAuth2 in the sidebar.
- Under Redirects, click Add Redirect and paste the exact callback URL shown in Blip Host (for example
https://your-bot.bliphost.app/auth/callback), then click Save Changes. - Under Client information, click Reset Secret, copy the Client Secret, and paste it into Blip Host.