Components
Discord
Discord is a communication platform designed for creating communities, chatting with friends, and connecting with others through text, voice, and video channels.
Discord is a communication platform designed for creating communities, chatting with friends, and connecting with others through text, voice, and video channels.
Categories: Communication
Type: discord/v1
Connections
Version: 1
Bearer Token
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
token | Bot token | STRING | true |
Actions
Send Channel Message
Name: sendChannelMessage
Post a new message to a specific #channel you choose.
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
guildId | Guild ID | STRING | true | |
channelId | Channel ID | STRING Depends On guildId | ID of the channel where to send the message. | true |
content | Message Text | STRING | Message contents (up to 2000 characters) | true |
tts | Text to Speech | BOOLEAN Options true, false | True if this is a TTS message | false |
Example JSON Structure
Output
Type: OBJECT
Properties
Name | Type | Description |
---|---|---|
id | STRING | |
content | STRING | |
tts | BOOLEAN Options true, false |
Output Example
Create Channel
Name: createChannel
Create a new channel
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
guildId | Guild ID | STRING | true | |
name | Name | STRING | The name of the new channel | true |
type | Type | INTEGER Options 0, 2, 4 | false |
Example JSON Structure
Output
Type: OBJECT
Properties
Name | Type | Description |
---|---|---|
id | STRING | |
type | INTEGER | |
name | STRING |
Output Example
Send Direct Message
Name: sendDirectMessage
Send direct message guild member.
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
guildId | Guild ID | STRING | true | |
recipient_id | Recipient | STRING Depends On guildId | The recipient to open a DM channel with. | true |
content | Message Text | STRING | Message contents (up to 2000 characters) | true |
tts | Text to Speech | BOOLEAN Options true, false | True if this is a TTS message | false |
Example JSON Structure
Output
Type: OBJECT
Properties
Name | Type | Description |
---|---|---|
body | OBJECT Properties {STRING(id)} |