Integrations / Messaging

Discord

Read channels and messages, post messages and replies, and start threads in Discord servers with a bot.

8 tools

Tools

discord.list_guild_channels

List the channels in a server. Server and channel IDs are numeric snowflakes like 197038439483310086.

guild_id*

discord.get_channel

Get a channel or thread by its numeric ID.

channel_id*

discord.list_messages

List recent messages in a channel, newest first.

channel_id*beforeafterlimit

discord.get_message

Get a message by channel ID and message ID.

channel_id*message_id*

discord.send_message writes

Post a message to a channel or thread, optionally as a reply to another message.

channel_id*content*reply_to

discord.start_thread writes

Start a thread from an existing message.

channel_id*message_id*name*auto_archive_duration

discord.api_get

Send a GET request to any Discord API path under https://discord.com/api/v10 and return the response. For endpoints the named tools don't cover.

path*params

discord.api_request writes

Send a POST, PUT, PATCH or DELETE request to any Discord API path under https://discord.com/api/v10.

method*path*paramsbody

Tick Allow raw writes on the connection to add api_request, which can send POST, PUT, PATCH and DELETE requests to any Discord API path.

Connect

  1. In the Discord Developer Portal, open your application (or create one), go to Bot, and reset the token to copy it.
  2. Turn on Message Content Intent on the same page if workflows need to read message text.
  3. Invite the bot to your server from OAuth2 → URL Generator with the bot scope and the View Channels, Send Messages, Read Message History and Create Public Threads permissions.
  4. Paste the bot token on the connection.

Credentials

Bot token

Discord API docs

Your next automation is one sentence away.

14-day free trial with $5 of built-in AI included. Cancel anytime.