Docs/Skills & Integrations/Discord
Integration

Discord

Connect your Lobstack agent to Discord. Send messages, read channels, list servers, and interact with your community.

Setup Guide#

1

Create a Discord Application

Go to the Discord Developer Portal and click New Application. Give it a name (e.g., "My Lobstack Agent").

2

Create a Bot

In your application, go to the Bot tab and click Add Bot. Copy the Bot Token — you'll need this.

Also note the Application ID from the General Information tab.

3

Set Bot Permissions

Under the Bot tab, enable these Privileged Gateway Intents:

  • Message Content Intent
  • Server Members Intent (optional, for moderation)
4

Invite the Bot to Your Server

Go to OAuth2 → URL Generator. Select:

  • Scopes: bot
  • Permissions: Send Messages, Read Message History, View Channels

Copy the generated URL and open it in your browser to add the bot to your server.

5

Add Credentials to Lobstack

In your Lobstack Dashboard, go to Skills → Discord → ⚙️ and enter:

  • Bot Token — The token from step 2
  • Application ID — From the General Information tab

Finding Channel & Server IDs

Enable Developer Mode in Discord (Settings → Advanced → Developer Mode). Then right-click any channel or server to copy its ID.

Available Tools#

ToolDescriptionRequired Parameters
discord_send_messageSend a message to a channelchannel_id, content
discord_read_messagesRead recent messages from a channelchannel_id (limit optional)
discord_list_channelsList all channels in a serverguild_id
discord_list_guildsList all servers the bot has joinedNone

Example Prompts#

Once Discord is configured, try these prompts with your agent:

text
"List all the Discord servers my bot is in"
"Read the last 10 messages from channel 1234567890"
"Send 'Hello team!' to the #general channel (ID: 9876543210)"
"What are the channels available in my server?"