Discord
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 | Control Type | Description | Required |
---|---|---|---|---|---|
token | Bot token | STRING | TEXT | true |
Actions
Send Channel Message
Name: sendChannelMessage
Post a new message to a specific #channel you choose.
Properties
Name | Label | Type | Control Type | Description | Required |
---|---|---|---|---|---|
guildId | Guild ID | STRING | SELECT | true | |
channelId | Channel ID | STRING Depends OnguildId | SELECT | ID of the channel where to send the message. | true |
__item | Message | OBJECT Properties{STRING(content), BOOLEAN(tts)} | OBJECT_BUILDER | null |
Output
Type: OBJECT
Properties
Name | Type | Control Type |
---|---|---|
body | OBJECT Properties{STRING(id), STRING(content), BOOLEAN(tts)} | OBJECT_BUILDER |
JSON Example
{ "label" : "Send Channel Message", "name" : "sendChannelMessage", "parameters" : { "guildId" : "", "channelId" : "", "__item" : { "content" : "", "tts" : false } }, "type" : "discord/v1/sendChannelMessage"}
Create Channel
Name: createChannel
Create a new channel
Properties
Name | Label | Type | Control Type | Description | Required |
---|---|---|---|---|---|
guildId | Guild ID | STRING | SELECT | true | |
__item | Channel | OBJECT Properties{STRING(name), INTEGER(type)} | OBJECT_BUILDER | null |
Output
Type: OBJECT
Properties
Name | Type | Control Type |
---|---|---|
body | OBJECT Properties{STRING(id), INTEGER(type), STRING(name)} | OBJECT_BUILDER |
JSON Example
{ "label" : "Create Channel", "name" : "createChannel", "parameters" : { "guildId" : "", "__item" : { "name" : "", "type" : 1 } }, "type" : "discord/v1/createChannel"}
Send Direct Message
Name: sendDirectMessage
Send direct message guild member.
Properties
Name | Label | Type | Control Type | Description | Required |
---|---|---|---|---|---|
guildId | Guild ID | STRING | SELECT | true | |
recipient_id | Recipient | STRING Depends OnguildId | SELECT | The recipient to open a DM channel with. | true |
content | Message Text | STRING | TEXT | Message contents (up to 2000 characters) | true |
tts | Text to Speech | BOOLEAN Optionstrue, false | SELECT | True if this is a TTS message | false |
Output
Type: OBJECT
Properties
Name | Type | Control Type |
---|---|---|
body | OBJECT Properties{STRING(id)} | OBJECT_BUILDER |
JSON Example
{ "label" : "Send Direct Message", "name" : "sendDirectMessage", "parameters" : { "guildId" : "", "recipient_id" : "", "content" : "", "tts" : false }, "type" : "discord/v1/sendDirectMessage"}