Skip to content

Discord Credential - Discord Bot

A Discord credential allows your workflows to send messages, manage channels, and interact with Discord servers through a bot. You need to create an application in the Discord developer portal.


FieldDescriptionExample
Bot TokenBot authentication tokenMTI3...
Default Guild IDMain server ID123456789012345678

  1. Go to discord.com/developers/applications
  2. Click New Application
  3. Give your application a name (e.g., “Floogos Bot”)
  4. Accept the terms of service
  1. In your application’s sidebar, select Bot
  2. Click Add Bot (if not created automatically)
  3. Optionally, change the bot’s name and avatar
  4. In the Token section, click Reset Token
  5. Copy the token immediately (it won’t be shown again)
  1. In the Bot section, configure Privileged Gateway Intents as needed:
    • Message Content Intent: To read message content
    • Server Members Intent: To access the member list
  2. In OAuth2 > URL Generator, select the bot scope
  3. Check the required permissions (Send Messages, Read Messages, etc.)
  4. Copy the generated URL and open it in your browser to invite the bot to your server
  1. Open Discord in your browser or desktop app
  2. Go to User Settings > Advanced and enable Developer Mode
  3. Right-click your server name in the sidebar
  4. Select Copy Server ID

  • Verify the bot is invited to the correct server
  • Confirm the bot has permissions in the channel where you’re trying to use it
  • Check that the required Gateway Intents are enabled
  • Bot tokens are invalidated when you Reset Token
  • Generate a new token and update it in Floogos
  • Check the bot’s permissions in the server settings
  • Make sure the bot’s role has access to the required channels
  • Re-invite the bot with correct permissions using a new OAuth2 URL
  • Make sure Developer Mode is enabled
  • Verify the ID corresponds to the server where the bot is

  • Never share the bot token publicly or include it in code repositories
  • If the token is compromised, Reset Token immediately
  • Grant only the minimum permissions necessary to the bot
  • Use different bots for development and production
  • Monitor bot activity from the developer portal
  • Consider restricting the bot to specific channels within the server