Integrations / Messaging
Discord
Read channels and messages, post messages and replies, and start threads in Discord servers with a bot.
Tools
discord.list_guild_channels
List the channels in a server. Server and channel IDs are numeric snowflakes like 197038439483310086.
discord.get_channel
Get a channel or thread by its numeric ID.
discord.list_messages
List recent messages in a channel, newest first.
discord.get_message
Get a message by channel ID and message ID.
discord.send_message writes
Post a message to a channel or thread, optionally as a reply to another message.
discord.start_thread writes
Start a thread from an existing message.
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.
discord.api_request writes
Send a POST, PUT, PATCH or DELETE request to any Discord API path under https://discord.com/api/v10.
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
- In the Discord Developer Portal, open your application (or create one), go to Bot, and reset the token to copy it.
- Turn on Message Content Intent on the same page if workflows need to read message text.
- 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.
- Paste the bot token on the connection.
Credentials
Your next automation is one sentence away.
14-day free trial with $5 of built-in AI included. Cancel anytime.