Discord
Interact with Discord
Configuration
Send Message
Operation
Send Message
Bot Token*
••••••••
Server ID*
Enter Discord server ID
Channel ID*
Enter Discord channel ID
Message Content
Enter message content...
Attachments
Upload files to attach
File Attachments
Reference files from previous blocks
Send Message (
discord_send_message)Send a message to a Discord channel
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
botToken | string | Yes | The bot token for authentication |
channelId | string | Yes | The Discord channel ID to send the message to |
content | string | No | The text content of the message |
serverId | string | Yes | The Discord server ID (guild ID) |
files | file[] | No | Files to attach to the message |
Output
| Parameter | Type | Description |
|---|---|---|
message | string | Success or error message |
data | object | Discord message data |
Get Channel Messages
Operation
Get Channel Messages
Bot Token*
••••••••
Server ID*
Enter Discord server ID
Channel ID*
Enter Discord channel ID
Message Limit
Number of messages (default: 10, max: 100)
Get Channel Messages (
discord_get_messages)Retrieve messages from a Discord channel
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
botToken | string | Yes | The bot token for authentication |
channelId | string | Yes | The Discord channel ID to retrieve messages from |
limit | number | No | Maximum number of messages to retrieve (default: 10, max: 100) |
Output
| Parameter | Type | Description |
|---|---|---|
message | string | Success or error message |
messages | array | Array of Discord messages with full metadata |
Get Server Information
Operation
Get Server Information
Bot Token*
••••••••
Server ID*
Enter Discord server ID
Get Server Information (
discord_get_server)Retrieve information about a Discord server (guild)
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
botToken | string | Yes | The bot token for authentication |
serverId | string | Yes | The Discord server ID (guild ID) |
Output
| Parameter | Type | Description |
|---|---|---|
message | string | Success or error message |
data | object | Discord server (guild) information |
Get User Information
Operation
Get User Information
Bot Token*
••••••••
User ID
Enter Discord user ID
Get User Information (
discord_get_user)Retrieve information about a Discord user
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
botToken | string | Yes | Discord bot token for authentication |
userId | string | Yes | The Discord user ID |
Output
| Parameter | Type | Description |
|---|---|---|
message | string | Success or error message |
data | object | Discord user information |
Usage Instructions
Integrate Discord into the workflow. Can send and get messages, get server information, and get a user’s information.
Notes
- Category:
tools - Type:
discord