Skip to content
Blocks

Blocks Dictionary — Complete Catalog

This page lists the 124 blocks (node types) of the Bot Creator app, grouped by the 12 categories of the editor. Each block is a node type of the graph: the registry also lists its output pins. Each block is drawn the way the editor draws it: icon tile, category, name, then its fields with their hints, drop-down options and default values. Open a block to see its fields.

The page is generated from the app’s own registry (_data/blocks_registry.json), so a block, field or option that does not exist in the app does not appear here. Some blocks are not offered everywhere: the chips under a block say when it is only available in workflows, only for interactions, or no longer offered in the palette.

How to read a card: a red * marks a required field; a bordered tile with a pencil is a sub-editor (embeds, components, inline sub-graph…); a field shown only for some values of another field says so (“Shown when …”). The fields listed are the ones the editor shows. A block can accept more payload keys when it is created through the API or the MCP, and the engine reads them. Under every block the editor adds the same Advanced settings (Action Key, Enabled, On Error), described in the Blocks guide.

Messages · Reactions · Channels · Moderation · Guild & Members · Components · Webhooks · HTTP & Variables · Workflows · Logic & Flow · Interactions · Music

Messages

MessagesDelete MessagesdeleteMessages
Channel Id
Optional: target channel (uses current channel if empty)
Message Count
10
min 1
Only User Id
Optional: only delete messages from this user
Before Message Id
Optional: delete messages posted before the given message ID
Delete Itself
If true and beforeMessageId is set, also delete that message
Reason
Reason for deletion
Filter Bots
Only delete bot messages
Filter Users
Only delete user messages

Delete one or more messages

Reference: default payload (JSON)
{
  "type": "deleteMessages",
  "payload": {
    "channelId": "",
    "messageCount": 10,
    "onlyUserId": "",
    "beforeMessageId": "",
    "deleteItself": false,
    "reason": "",
    "filterBots": false,
    "filterUsers": false
  }
}
MessagesSend MessagesendMessage
Target Type
channel
Send to a channel, reply to a message, or directly to a user (DM)channeluserreply
Channel Id
Target channel (required when targetType=channel or reply; leave empty for current channel)
Message Id
Message to reply to (required when targetType=reply)
Shown when Target Type = reply
User Id
User to DM (required when targetType=user)
Message Mode
message
Normal message (embeds, buttons/selects) or Component V2messagecomponentV2
Content
Message content
Shown when Message Mode = message
Embeds
Optional embeds (same format as normal command reply)
Components
Optional message components (buttons/select menus only)
Component V2
Component V2 interactive elements
Mentions
Users/roles to mention
Tts
Text-to-speech

Send a message to a specific channel

Reference: default payload (JSON)
{
  "type": "sendMessage",
  "payload": {
    "targetType": "channel",
    "channelId": "",
    "messageId": "",
    "userId": "",
    "messageMode": "message",
    "content": "",
    "embeds": [],
    "components": {},
    "componentV2": null,
    "mentions": [],
    "tts": false
  }
}
MessagesEdit MessageeditMessage
Channel Id*
Channel containing message
Message Id*
Message to edit
Edit Mode
message
Edit standard message or Component V2 layoutmessagecomponentV2
Content
New message content
Shown when Edit Mode = message
Embeds
Optional embeds to replace the current message embeds
Clear Embeds
Remove all embeds from the message
Components
Optional message components (buttons/select menus only)
Component V2
Edit Component V2 interactive elements (optional)
Clear Components
Remove all components from the message

Edit an existing message

Reference: default payload (JSON)
{
  "type": "editMessage",
  "payload": {
    "channelId": "",
    "messageId": "",
    "editMode": "message",
    "content": "",
    "embeds": null,
    "clearEmbeds": false,
    "components": {},
    "componentV2": null,
    "clearComponents": false
  }
}
MessagesPin MessagepinMessage
Channel Id
Optional: Channel containing message (uses current channel if empty)
Message Id*
Message to pin
Reason
Pin reason

Pin a message in a channel

Reference: default payload (JSON)
{
  "type": "pinMessage",
  "payload": {
    "channelId": "",
    "messageId": "",
    "reason": ""
  }
}
MessagesGet MessagegetMessage
Channel Id
Channel containing the message (optional: current channel)
Message Id*
Message ID to fetch

Fetch a message and expose its fields

Reference: default payload (JSON)
{
  "type": "getMessage",
  "payload": {
    "channelId": "",
    "messageId": ""
  }
}
MessagesUnpin MessageunpinMessage
Channel Id
Channel containing the message (optional: current channel)
Message Id*
Message to unpin
Reason
Audit log reason

Unpin a message in a channel

Reference: default payload (JSON)
{
  "type": "unpinMessage",
  "payload": {
    "channelId": "",
    "messageId": "",
    "reason": ""
  }
}
MessagesCreate PollcreatePoll
Channel Id
Channel to send the poll in (optional: current channel)
Question*
Poll question
Answers
Poll answers (max 10)
Duration Hours
24
min 1, max 168
Allow Multiselect
Allow multiple answers to be selected

Create a poll message in a channel

Reference: default payload (JSON)
{
  "type": "createPoll",
  "payload": {
    "channelId": "",
    "question": "",
    "answers": [
      "Yes",
      "No"
    ],
    "durationHours": 24,
    "allowMultiselect": false
  }
}
MessagesEnd PollendPoll
Channel Id
Channel containing the poll (optional: current channel)
Message Id*
Message ID of the poll to end

End an active poll message immediately

Reference: default payload (JSON)
{
  "type": "endPoll",
  "payload": {
    "channelId": "",
    "messageId": ""
  }
}
MessagesDelete Trigger MessagedeleteTrigger
This block has no field.

Delete the message that triggered this command

Reference: default payload (JSON)
{
  "type": "deleteTrigger",
  "payload": {}
}
MessagesAttach ImageattachImage
Image Name*
Attachment name (used with attachment://name.png in embeds)
Image Source*
Image URL, data URL, or base64 string
Alt Text
Alternative text for the image

Attach an image file to the message response (URL, data URL, or base64)

Reference: default payload (JSON)
{
  "type": "attachImage",
  "payload": {
    "imageName": "",
    "imageSource": "",
    "altText": ""
  }
}

Reactions

ReactionsAdd ReactionaddReaction
Channel Id
Optional: Channel containing message (uses current channel if empty)
Message Id*
Message to react to
Emoji*
Emoji to add (e.g. 🐶 or <:name:id>)

Add an emoji reaction to a message

Reference: default payload (JSON)
{
  "type": "addReaction",
  "payload": {
    "channelId": "",
    "messageId": "",
    "emoji": ""
  }
}
ReactionsRemove ReactionremoveReaction
Channel Id
Optional: Channel containing message (uses current channel if empty)
Message Id*
Message to remove reaction from
Emoji*
Emoji to remove (e.g. 🐶 or <:name:id>)
User Id
Optional: Specific user whose reaction to remove
Remove Own
Remove bot's own reaction

Remove a reaction from a message

Reference: default payload (JSON)
{
  "type": "removeReaction",
  "payload": {
    "channelId": "",
    "messageId": "",
    "emoji": "",
    "userId": "",
    "removeOwn": false
  }
}
ReactionsClear All ReactionsclearAllReactions
Channel Id
Optional: Channel containing message (uses current channel if empty)
Message Id*
Message to clear reactions from

Remove all reactions from a message

Reference: default payload (JSON)
{
  "type": "clearAllReactions",
  "payload": {
    "channelId": "",
    "messageId": ""
  }
}

Channels

ChannelsCreate ChannelcreateChannel
Name*
Channel name
Type
text
Channel typetextvoiceannouncementstageforumcategory
Category Id
Parent category
Topic
Channel topic/description
Nsfw
Age-restricted channel
Slowmode
0s
Reason
Reason shown in the audit log

Create a new channel

Reference: default payload (JSON)
{
  "type": "createChannel",
  "payload": {
    "name": "",
    "type": "text",
    "categoryId": "",
    "topic": "",
    "nsfw": false,
    "slowmode": "0s",
    "reason": ""
  }
}
ChannelsUpdate ChannelupdateChannel
Channel Id*
Channel to update
Name
New channel name
Topic
New channel topic/description
Nsfw
Toggle NSFW status
Slowmode
0s
Reason
Reason shown in the audit log

Update channel settings

Reference: default payload (JSON)
{
  "type": "updateChannel",
  "payload": {
    "channelId": "",
    "name": "",
    "topic": "",
    "nsfw": false,
    "slowmode": "0s",
    "reason": ""
  }
}
ChannelsRemove ChannelremoveChannel
Channel Id*
Channel to remove
Reason
Reason shown in the audit log

Delete a channel

Reference: default payload (JSON)
{
  "type": "removeChannel",
  "payload": {
    "channelId": "",
    "reason": ""
  }
}
ChannelsCreate InvitecreateInvite
Channel Id
Channel to create invite for (optional: current channel)
Max Age
86400
min 0
Max Uses
0
min 0
Temporary
Kick member if they leave before getting a role
Unique
Guarantee a unique invite code
Reason
Audit log reason

Create a new invite link for a channel

Reference: default payload (JSON)
{
  "type": "createInvite",
  "payload": {
    "channelId": "",
    "maxAge": 86400,
    "maxUses": 0,
    "temporary": false,
    "unique": false,
    "reason": ""
  }
}
ChannelsDelete InvitedeleteInvite
Invite Code*
Invite code to delete (e.g. abc123)
Reason
Audit log reason

Delete an existing invite by code

Reference: default payload (JSON)
{
  "type": "deleteInvite",
  "payload": {
    "inviteCode": "",
    "reason": ""
  }
}
ChannelsGet InvitegetInvite
Invite Code*
Invite code to look up (e.g. abc123)

Fetch invite information by code

Reference: default payload (JSON)
{
  "type": "getInvite",
  "payload": {
    "inviteCode": ""
  }
}
ChannelsCreate ThreadcreateThread
Channel Id
Parent channel (optional: current channel)
Name*
Thread name
Type
public
Thread type (ignored when creating from an existing message)publicprivate
Message Id
Create thread on this message (optional)
Auto Archive Duration
1440
Auto-archive after inactivity (minutes)601440432010080
Slowmode
0
min 0
Reason
Audit log reason

Create a thread in a supported text channel

Reference: default payload (JSON)
{
  "type": "createThread",
  "payload": {
    "channelId": "",
    "name": "",
    "type": "public",
    "messageId": "",
    "autoArchiveDuration": "1440",
    "slowmode": 0,
    "reason": ""
  }
}
ChannelsAdd Thread MemberaddThreadMember
Thread Id*
Thread to add the member to
User Id*
User to add to the thread

Add a member to a thread

Reference: default payload (JSON)
{
  "type": "addThreadMember",
  "payload": {
    "threadId": "",
    "userId": ""
  }
}
ChannelsRemove Thread MemberremoveThreadMember
Thread Id*
Thread to remove the member from
User Id*
User to remove from the thread

Remove a member from a thread

Reference: default payload (JSON)
{
  "type": "removeThreadMember",
  "payload": {
    "threadId": "",
    "userId": ""
  }
}
ChannelsEdit Channel PermissionseditChannelPermissions
Channel Id*
Channel to edit permissions for
Target Id*
User or Role ID to set overwrite for
Shown when Target Type = member / role
Target Type*
member
Whether targetId is a member, role, or @everyone (for @everyone, targetId is auto-set to the guild ID)memberroleeveryone
Permissions
Permission overwrites — tap each permission to cycle through Allow / Deny / Unset
Reason
Audit log reason

Create or update channel permission overwrites

Reference: default payload (JSON)
{
  "type": "editChannelPermissions",
  "payload": {
    "channelId": "",
    "targetId": "",
    "targetType": "member",
    "permissions": {},
    "reason": ""
  }
}
ChannelsDelete Channel PermissiondeleteChannelPermission
Channel Id*
Channel to delete permission overwrite from
Target Type
member
Whether targetId is a member, role, or @everyone (for @everyone, targetId is ignored)memberroleeveryone
Target Id
User or Role ID whose overwrite to delete
Shown when Target Type = member / role
Reason
Audit log reason

Delete a channel permission overwrite

Reference: default payload (JSON)
{
  "type": "deleteChannelPermission",
  "payload": {
    "channelId": "",
    "targetType": "member",
    "targetId": "",
    "reason": ""
  }
}

Moderation

ModerationBan UserbanUser
User Id*
User to ban
Reason
Ban reason
Delete Message Days
1
min 0, max 7

Permanently ban a user from the server

Reference: default payload (JSON)
{
  "type": "banUser",
  "payload": {
    "userId": "",
    "reason": "",
    "deleteMessageDays": 1
  }
}
ModerationUnban UserunbanUser
User Id*
User to unban
Reason
Unban reason

Revoke a user's ban

Reference: default payload (JSON)
{
  "type": "unbanUser",
  "payload": {
    "userId": "",
    "reason": ""
  }
}
ModerationKick UserkickUser
User Id*
User to kick
Reason
Kick reason

Kick a member from the server

Reference: default payload (JSON)
{
  "type": "kickUser",
  "payload": {
    "userId": "",
    "reason": ""
  }
}
ModerationMute UsermuteUser
User Id*
User/Member to mute
Duration
10m
Until
Or specify explicit until datetime ISO8601
Reason
Mute reason

Temporarily exclude (timeout) a member

Reference: default payload (JSON)
{
  "type": "muteUser",
  "payload": {
    "userId": "",
    "duration": "10m",
    "until": "",
    "reason": ""
  }
}
ModerationUnmute UserunmuteUser
User Id*
User/Member to unmute
Reason
Unmute reason

Remove temporary exclusion from a member

Reference: default payload (JSON)
{
  "type": "unmuteUser",
  "payload": {
    "userId": "",
    "reason": ""
  }
}
ModerationAdd RoleaddRole
User Id*
User/Member receiving the role
Role Id*
Role to add
Reason
Audit log reason

Assign a role to a member

Reference: default payload (JSON)
{
  "type": "addRole",
  "payload": {
    "userId": "",
    "roleId": "",
    "reason": ""
  }
}
ModerationRemove RoleremoveRole
User Id*
User/Member losing the role
Role Id*
Role to remove
Reason
Audit log reason

Remove a role from a member

Reference: default payload (JSON)
{
  "type": "removeRole",
  "payload": {
    "userId": "",
    "roleId": "",
    "reason": ""
  }
}
ModerationMove to Voice ChannelmoveToVoiceChannel
User Id*
Member to move
Target Channel Id*
Destination voice channel
Reason
Audit log reason

Move a member to a specific voice channel

Reference: default payload (JSON)
{
  "type": "moveToVoiceChannel",
  "payload": {
    "userId": "",
    "targetChannelId": "",
    "reason": ""
  }
}
ModerationDisconnect from VoicedisconnectFromVoice
User Id*
Member to disconnect from voice
Reason
Audit log reason

Disconnect a member from voice

Reference: default payload (JSON)
{
  "type": "disconnectFromVoice",
  "payload": {
    "userId": "",
    "reason": ""
  }
}
ModerationServer Mute MemberserverMuteMember
User Id*
Member to server-mute or unmute
Mute
true = mute, false = unmute
Reason
Audit log reason

Server-mute or unmute a member

Reference: default payload (JSON)
{
  "type": "serverMuteMember",
  "payload": {
    "userId": "",
    "mute": true,
    "reason": ""
  }
}
ModerationServer Deafen MemberserverDeafenMember
User Id*
Member to server-deafen or undeafen
Deaf
true = deafen, false = undeafen
Reason
Audit log reason

Server-deafen or undeafen a member

Reference: default payload (JSON)
{
  "type": "serverDeafenMember",
  "payload": {
    "userId": "",
    "deaf": true,
    "reason": ""
  }
}
ModerationCreate AutoMod RulecreateAutoModRule
Name*
Rule name
Trigger Type*
keyword
What triggers the rulekeywordspamkeywordPresetmentionSpam
Keywords
Blocked keywords (for keyword trigger)
Regex Patterns
Regex patterns to match (for keyword trigger)
Allowed Words
Words exempt from filtering
Keyword Presets
Presets: profanity, sexualContent, slurs (for keywordPreset trigger)
Mention Total Limit
5
min 1, max 50
Action Type
block_message
Action to take when rule is triggeredblock_messagesend_alert_messagetimeout
Alert Channel Id
Channel for alert messages (for send_alert_message action)
Timeout Duration
60
min 1
Exempt Roles
Role IDs exempt from this rule
Exempt Channels
Channel IDs exempt from this rule
Enabled
Enable the rule immediately
Reason
Audit log reason

Create a guild auto-moderation rule

Reference: default payload (JSON)
{
  "type": "createAutoModRule",
  "payload": {
    "name": "",
    "triggerType": "keyword",
    "keywords": [],
    "regexPatterns": [],
    "allowedWords": [],
    "keywordPresets": [],
    "mentionTotalLimit": 5,
    "actionType": "block_message",
    "alertChannelId": "",
    "timeoutDuration": 60,
    "exemptRoles": [],
    "exemptChannels": [],
    "enabled": true,
    "reason": ""
  }
}
ModerationDelete AutoMod RuledeleteAutoModRule
Rule Id*
AutoMod rule ID to delete
Reason
Audit log reason

Delete an auto-moderation rule

Reference: default payload (JSON)
{
  "type": "deleteAutoModRule",
  "payload": {
    "ruleId": "",
    "reason": ""
  }
}
ModerationList AutoMod RuleslistAutoModRules
This block has no field.

List all auto-moderation rules in guild

Reference: default payload (JSON)
{
  "type": "listAutoModRules",
  "payload": {}
}
ModerationSet NicknamesetNickname
User Id*
User whose nickname to change
Nickname*
New nickname
Reason
Audit log reason

Change a server member's nickname

Reference: default payload (JSON)
{
  "type": "setNickname",
  "payload": {
    "userId": "",
    "nickname": "",
    "reason": ""
  }
}
ModerationSlowmodeslowmode
Channel Id*
Channel to set slowmode for
Duration*
5s
Reason
Audit log reason

Set the slowmode duration for a channel

Reference: default payload (JSON)
{
  "type": "slowmode",
  "payload": {
    "channelId": "",
    "duration": "5s",
    "reason": ""
  }
}

Guild & Members

Guild & MembersUpdate AutoModupdateAutoMod
Enabled
Enable auto-moderation
Filter Words
Blocked words
Allowed Roles
Roles exempt from filtering
Max Mentions
5
min 1, max 50
Reason
Reason shown in the audit log

Update auto-moderation settings

Reference: default payload (JSON)
{
  "type": "updateAutoMod",
  "payload": {
    "enabled": true,
    "filterWords": [],
    "allowedRoles": [],
    "maxMentions": 5,
    "reason": ""
  }
}
Guild & MembersUpdate GuildupdateGuild
Name
New guild name
Description
New guild description
Preferred Locale
Preferred locale (e.g. en-US)
Afk Channel Id
AFK voice channel
Afk Timeout Seconds
300
System Channel Id
System messages channel
Rules Channel Id
Rules channel
Public Updates Channel Id
Public updates channel
Reason
Update reason

Update guild settings

Reference: default payload (JSON)
{
  "type": "updateGuild",
  "payload": {
    "name": "",
    "description": "",
    "preferredLocale": "",
    "afkChannelId": "",
    "afkTimeoutSeconds": 300,
    "systemChannelId": "",
    "rulesChannelId": "",
    "publicUpdatesChannelId": "",
    "reason": ""
  }
}
Guild & MembersList MemberslistMembers
Limit
100
min 1, max 1000
After
Fetch members after this ID
Query
Search members by username/nickname

List members in a guild with options

Reference: default payload (JSON)
{
  "type": "listMembers",
  "payload": {
    "limit": 100,
    "after": "",
    "query": ""
  }
}
Guild & MembersGet MembergetMember
User Id*
User/Member to fetch

Get member information

Reference: default payload (JSON)
{
  "type": "getMember",
  "payload": {
    "userId": ""
  }
}
Guild & MembersCreate EmojicreateEmoji
Name*
Emoji name (alphanumeric + underscores)
Image Url
URL of the image to use as emoji (PNG/JPEG/GIF, max 256KB)
Image Base64
Base64-encoded image data (alternative to imageUrl)
Roles
Role IDs that can use this emoji (empty = everyone)
Reason
Audit log reason

Create a guild emoji from image data

Reference: default payload (JSON)
{
  "type": "createEmoji",
  "payload": {
    "name": "",
    "imageUrl": "",
    "imageBase64": "",
    "roles": [],
    "reason": ""
  }
}
Guild & MembersUpdate EmojiupdateEmoji
Emoji Id*
Emoji ID to update
Name
New emoji name
Roles
New list of role IDs (empty = no change)
Reason
Audit log reason

Update guild emoji name or role access

Reference: default payload (JSON)
{
  "type": "updateEmoji",
  "payload": {
    "emojiId": "",
    "name": "",
    "roles": [],
    "reason": ""
  }
}
Guild & MembersDelete EmojideleteEmoji
Emoji Id*
Emoji ID to delete
Reason
Audit log reason

Delete a guild emoji

Reference: default payload (JSON)
{
  "type": "deleteEmoji",
  "payload": {
    "emojiId": "",
    "reason": ""
  }
}
Guild & MembersGet Guild OnboardinggetGuildOnboarding
This block has no field.

Fetch current guild onboarding configuration

Reference: default payload (JSON)
{
  "type": "getGuildOnboarding",
  "payload": {}
}
Guild & MembersUpdate Guild OnboardingupdateGuildOnboarding
Enabled
Enable or disable guild onboarding

Update guild onboarding configuration

Reference: default payload (JSON)
{
  "type": "updateGuildOnboarding",
  "payload": {
    "enabled": true
  }
}
Guild & MembersUpdate Self User (Bot Profile)updateSelfUser
Username
New bot username (leave empty to keep current)
Avatar Url
URL of new avatar image (PNG/JPEG/GIF)
Avatar Base64
Base64-encoded avatar image (alternative to avatarUrl)

Update current bot user profile (username/avatar)

Reference: default payload (JSON)
{
  "type": "updateSelfUser",
  "payload": {
    "username": "",
    "avatarUrl": "",
    "avatarBase64": ""
  }
}
Guild & MembersLeave ServerleaveGuild
This block has no field.

Make the bot leave the guild/server

Reference: default payload (JSON)
{
  "type": "leaveGuild",
  "payload": {}
}

Components

ComponentsSend Component V2sendComponentV2
Channel Id
Channel to send the components in (optional: current channel)
Components
Component V2 layout to send

Send interactive components

Reference: default payload (JSON)
{
  "type": "sendComponentV2",
  "payload": {
    "channelId": "",
    "components": {}
  }
}
ComponentsEdit Component V2editComponentV2
Channel Id
Channel containing the message (optional: current channel)
Message Id*
Message to edit
Components
Updated Component V2 layout

Edit existing components

Reference: default payload (JSON)
{
  "type": "editComponentV2",
  "payload": {
    "channelId": "",
    "messageId": "",
    "components": {}
  }
}

Webhooks

WebhooksSend WebhooksendWebhook
Webhook Url
Full webhook URL (or provide ID + token separately)
Webhook Id
Webhook ID
Token
Webhook Token
Content*
Message content
Username
Override webhook username
Avatar Url
Override webhook avatar URL
Thread Id
Send in specific thread
Wait
Wait for message creation to complete
Component V2
Attach Component V2 interactive elements (optional)

Send message via Webhook

Reference: default payload (JSON)
{
  "type": "sendWebhook",
  "payload": {
    "webhookUrl": "",
    "webhookId": "",
    "token": "",
    "content": "",
    "username": "",
    "avatarUrl": "",
    "threadId": "",
    "wait": true,
    "componentV2": null
  }
}
WebhooksEdit WebhookeditWebhook
Webhook Url
Full webhook URL (or provide ID + token separately)
Webhook Id
Webhook ID
Token
Webhook Token
Name
New webhook name
Channel Id
Move to new channel
Reason
Edit reason

Edit an existing Webhook

Reference: default payload (JSON)
{
  "type": "editWebhook",
  "payload": {
    "webhookUrl": "",
    "webhookId": "",
    "token": "",
    "name": "",
    "channelId": "",
    "reason": ""
  }
}
WebhooksDelete WebhookdeleteWebhook
Webhook Url
Full webhook URL (or provide ID + token separately)
Webhook Id
Webhook ID
Token
Webhook Token
Reason
Delete reason

Delete a webhook

Reference: default payload (JSON)
{
  "type": "deleteWebhook",
  "payload": {
    "webhookUrl": "",
    "webhookId": "",
    "token": "",
    "reason": ""
  }
}
WebhooksList WebhookslistWebhooks
Channel Id
Fetch webhooks in channel (fallback to current channel)
Guild Id
Or fetch all webhooks in guild

List all Webhooks in a channel or guild

Reference: default payload (JSON)
{
  "type": "listWebhooks",
  "payload": {
    "channelId": "",
    "guildId": ""
  }
}
WebhooksGet WebhookgetWebhook
Webhook Url
Full webhook URL (or provide ID + token separately)
Webhook Id*
Webhook ID
Token
Webhook Token (required to get webhook without auth)

Get Webhook information by ID

Reference: default payload (JSON)
{
  "type": "getWebhook",
  "payload": {
    "webhookUrl": "",
    "webhookId": "",
    "token": ""
  }
}

HTTP & Variables

HTTP & VariablesHTTP RequesthttpRequest
Url*
Request URL (supports placeholders ((...)))
Method
GET
HTTP methodGETPOSTPUTPATCHDELETEHEAD
Body Mode
json
Body formatjsontext
Body Json
JSON body builder map
Body Text
Raw text body
Headers
Custom headers
Save Body To Global Var
Optional global var key to store response body
Save Status To Global Var
Optional global var key to store status code
Extract Json Path
JSON path to extract (ex: $.data.access_token)

Send HTTP request with dynamic URL, method, headers and body

Reference: default payload (JSON)
{
  "type": "httpRequest",
  "payload": {
    "url": "",
    "method": "GET",
    "bodyMode": "json",
    "bodyJson": {},
    "bodyText": "",
    "headers": {},
    "saveBodyToGlobalVar": "",
    "saveStatusToGlobalVar": "",
    "extractJsonPath": ""
  }
}
HTTP & VariablesSet variable (whole bot)setGlobalVariable
Key*
Global variable key
Ttl
Optional TTL (ex: 1h, 30m, 1d)
Value Type
string
Value type: string, number, boolean or jsonstringnumberbooleanjson
Value
Value (supports placeholders ((...)))
Shown when Value Type = string
Number Value
0
Shown when Value Type = number
Bool Value
Boolean value when valueType=boolean
Json Value
JSON value when valueType=json (array/object)
Shown when Value Type = json

Create or update a global variable for this bot

Reference: default payload (JSON)
{
  "type": "setGlobalVariable",
  "payload": {
    "key": "",
    "ttl": "",
    "valueType": "string",
    "value": "",
    "numberValue": 0,
    "boolValue": false,
    "jsonValue": ""
  }
}
HTTP & VariablesGet variable (whole bot)getGlobalVariable
Key*
Global variable key
Store As
Runtime variable alias (ex: token)

Read a global variable and inject into runtime variables

Reference: default payload (JSON)
{
  "type": "getGlobalVariable",
  "payload": {
    "key": "",
    "storeAs": ""
  }
}
HTTP & VariablesRemove variable (whole bot)removeGlobalVariable
Key*
Global variable key

Delete a global variable

Reference: default payload (JSON)
{
  "type": "removeGlobalVariable",
  "payload": {
    "key": ""
  }
}
HTTP & VariablesSet variable (per server, member…)setScopedVariable
Scope*
guild
Who is it for: each server, each member (per server), each user (all servers), each channel or each messageguilduserchannelguildMembermessage
Context Id
Advanced: leave empty for the current server / member / channel / message. For someone else: member = serverId:userId, other kinds = their ID
Key*
Variable name
Ttl
Optional TTL (ex: 1h, 30m, 1d)
Value Type
string
Value type: string, number, boolean or jsonstringnumberbooleanjson
Value
String value (supports placeholders ((...)))
Shown when Value Type = string
Number Value
0
Shown when Value Type = number
Bool Value
Boolean value when valueType=boolean
Json Value
JSON value when valueType=json (array/object)
Shown when Value Type = json

Create or update a scoped variable (guild/user/channel/guildMember/message)

Reference: default payload (JSON)
{
  "type": "setScopedVariable",
  "payload": {
    "scope": "guild",
    "contextId": "",
    "key": "",
    "ttl": "",
    "valueType": "string",
    "value": "",
    "numberValue": 0,
    "boolValue": false,
    "jsonValue": ""
  }
}
HTTP & VariablesSet Temporary VariablesetTemporaryVariable
Key*
Temporary variable key
Value Type
string
Value type: string, number, boolean or jsonstringnumberbooleanjson
Value
String value (supports placeholders ((...)))
Shown when Value Type = string
Number Value
0
Shown when Value Type = number
Bool Value
Boolean value when valueType=boolean
Json Value
JSON value when valueType=json (array/object)
Shown when Value Type = json

Create or update a temporary variable in local execution

Reference: default payload (JSON)
{
  "type": "setTemporaryVariable",
  "payload": {
    "key": "",
    "valueType": "string",
    "value": "",
    "numberValue": 0,
    "boolValue": false,
    "jsonValue": ""
  }
}
HTTP & VariablesGet variable (per server, member…)getScopedVariable
Scope*
guild
Who is it for: each server, each member (per server), each user (all servers), each channel or each messageguilduserchannelguildMembermessage
Context Id
Advanced: leave empty for the current server / member / channel / message. For someone else: member = serverId:userId, other kinds = their ID
Key*
Variable name
Store As
Runtime variable alias (ex: guild.score)

Read a scoped variable and inject into runtime variables

Reference: default payload (JSON)
{
  "type": "getScopedVariable",
  "payload": {
    "scope": "guild",
    "contextId": "",
    "key": "",
    "storeAs": ""
  }
}
HTTP & VariablesRemove variable (per server, member…)removeScopedVariable
Scope*
guild
Who is it for: each server, each member (per server), each user (all servers), each channel or each messageguilduserchannelguildMembermessage
Context Id
Advanced: leave empty for the current server / member / channel / message. For someone else: member = serverId:userId, other kinds = their ID
Key*
Variable name

Delete a scoped variable

Reference: default payload (JSON)
{
  "type": "removeScopedVariable",
  "payload": {
    "scope": "guild",
    "contextId": "",
    "key": ""
  }
}
HTTP & VariablesRename variable (per server, member…)renameScopedVariable
Scope*
guild
Who is it for: each server, each member (per server), each user (all servers), each channel or each messageguilduserchannelguildMembermessage
Context Id
Advanced: leave empty for the current server / member / channel / message. For someone else: member = serverId:userId, other kinds = their ID
Old Key*
Current key (bc_ optional)
New Key*
New key (bc_ optional)

Rename a scoped variable key

Reference: default payload (JSON)
{
  "type": "renameScopedVariable",
  "payload": {
    "scope": "guild",
    "contextId": "",
    "oldKey": "",
    "newKey": ""
  }
}
HTTP & VariablesList a variable’s values (per server, member…)listScopedVariableIndex
Scope*
user
Who is it for: each server, each member (per server), each user (all servers), each channel or each messageguilduserchannelguildMembermessage
Key*
Scoped variable key to index (bc_ optional)
Order
desc
Sort order by valuedescasc
Offset
0
min 0
Limit
25
min 1, max 25
Store As
Optional runtime alias for the JSON items list

List indexed scoped values sorted by value with offset and limit

Reference: default payload (JSON)
{
  "type": "listScopedVariableIndex",
  "payload": {
    "scope": "user",
    "key": "",
    "order": "desc",
    "offset": 0,
    "limit": 25,
    "storeAs": ""
  }
}
HTTP & VariablesAppend Array ElementappendArrayElement
Target
global
Target variable containerglobalscoped
Scope
guild
Scope when target=scopedguilduserchannelguildMembermessage
Context Id
Advanced: leave empty for the current server / member / channel / message
Shown when Target = scoped
Key*
Variable key containing the array
Path
$
Value Type
string
Element type: string, number, boolean or jsonstringnumberbooleanjson
Element
String element value
Shown when Value Type = string
Number Value
0
Shown when Value Type = number
Bool Value
Boolean element value
Json Value
JSON element value (array/object)
Shown when Value Type = json

Append a new element into a global or scoped JSON array

Reference: default payload (JSON)
{
  "type": "appendArrayElement",
  "payload": {
    "target": "global",
    "scope": "guild",
    "contextId": "",
    "key": "",
    "path": "$",
    "valueType": "string",
    "element": "",
    "numberValue": 0,
    "boolValue": false,
    "jsonValue": ""
  }
}
HTTP & VariablesRemove Array ElementremoveArrayElement
Target
global
Target variable containerglobalscoped
Scope
guild
Scope when target=scopedguilduserchannelguildMembermessage
Context Id
Advanced: leave empty for the current server / member / channel / message
Shown when Target = scoped
Key*
Variable key containing the array
Path
$
Index
0
min 0

Remove one element from a global or scoped JSON array by index

Reference: default payload (JSON)
{
  "type": "removeArrayElement",
  "payload": {
    "target": "global",
    "scope": "guild",
    "contextId": "",
    "key": "",
    "path": "$",
    "index": 0
  }
}
HTTP & VariablesQuery ArrayqueryArray
Input*
Template resolving to a JSON array or JSON object
Path
$
Filter Template
Item template used for filtering, ex: {name}
Filter Operator
contains
Filter operatorcontainsequalsstartsWithendsWithgtgteltlte
Filter Value
Value compared against filterTemplate
Sort Template
Optional item template used for sorting
Order
asc
Sort orderascdesc
Offset
0
min 0
Limit
25
min 1, max 100
Store As
Optional alias storing the paged array as JSON

Filter, sort and page any runtime JSON array

Reference: default payload (JSON)
{
  "type": "queryArray",
  "payload": {
    "input": "",
    "path": "$",
    "filterTemplate": "",
    "filterOperator": "contains",
    "filterValue": "",
    "sortTemplate": "",
    "order": "asc",
    "offset": 0,
    "limit": 25,
    "storeAs": ""
  }
}

Workflows

WorkflowsRun WorkflowrunWorkflow
Workflow Name*
Saved workflow name to execute
Entry Point
Optional entry point override (defaults to workflow entry)
Arguments
Optional key/value arguments injected as ((arg.key))

Execute a saved workflow (supports entry point + arguments)

Reference: default payload (JSON)
{
  "type": "runWorkflow",
  "payload": {
    "workflowName": "",
    "entryPoint": "",
    "arguments": {}
  }
}
WorkflowsBDFD script (not convertible)runBdfdScript
Script Content
BDFD script source code to execute

Internal fallback for BDFD source that cannot be converted into blocks

Reference: default payload (JSON)
{
  "type": "runBdfdScript",
  "payload": {
    "scriptContent": ""
  }
}
WorkflowsDebug ProfiledebugProfile
This block has no field.

Generate execution profile and diagnostics info

Reference: default payload (JSON)
{
  "type": "debugProfile",
  "payload": {}
}
WorkflowsLog Messagelog
Message*
Message to log

Print or store diagnostic message to action logs

Reference: default payload (JSON)
{
  "type": "log",
  "payload": {
    "message": ""
  }
}
WorkflowsExecute JSON OperationsruntimeJsonBlock
This block has no field.

Run block of JSON processing actions

Reference: default payload (JSON)
{
  "type": "runtimeJsonBlock",
  "payload": {}
}
WorkflowsExecute Image CanvasruntimeImageBlock
Image Name
Name to reference this image (used with Attach Image action)

Run block of image canvas processing actions

Reference: default payload (JSON)
{
  "type": "runtimeImageBlock",
  "payload": {
    "imageName": ""
  }
}
WorkflowsCreate CanvascanvasCreateBlock
This block has no field.

Create a blank image canvas

Reference: default payload (JSON)
{
  "type": "canvasCreateBlock",
  "payload": {}
}
WorkflowsLoad ImagecanvasLoadImageBlock
This block has no field.

Load an image from a URL or source into canvas

Reference: default payload (JSON)
{
  "type": "canvasLoadImageBlock",
  "payload": {}
}
WorkflowsDraw TextcanvasDrawTextBlock
This block has no field.

Draw text on the image canvas with styling options

Reference: default payload (JSON)
{
  "type": "canvasDrawTextBlock",
  "payload": {}
}
WorkflowsDraw CirclecanvasDrawCircleBlock
This block has no field.

Draw a circle on the image canvas

Reference: default payload (JSON)
{
  "type": "canvasDrawCircleBlock",
  "payload": {}
}
WorkflowsDraw RectanglecanvasDrawRectBlock
This block has no field.

Draw a rectangle on the image canvas

Reference: default payload (JSON)
{
  "type": "canvasDrawRectBlock",
  "payload": {}
}
WorkflowsDraw LinecanvasDrawLineBlock
This block has no field.

Draw a line on the canvas

Reference: default payload (JSON)
{
  "type": "canvasDrawLineBlock",
  "payload": {}
}
WorkflowsRegister Guild CommandsregisterGuildCommands
Command Names
Command names to register

Register application commands to a guild

Reference: default payload (JSON)
{
  "type": "registerGuildCommands",
  "payload": {
    "commandNames": []
  }
}
WorkflowsUnregister Guild CommandsunregisterGuildCommands
Command Names
Command names to unregister

Unregister application commands from a guild

Reference: default payload (JSON)
{
  "type": "unregisterGuildCommands",
  "payload": {
    "commandNames": []
  }
}
WorkflowsFunctioncallFunction
Function*
Native function to call (any BDFD function)
Arguments
Arguments of the function (edited with the function)

A BDFD function, shown as a block: its name, fields and category are the function's own

Reference: default payload (JSON)
{
  "type": "callFunction",
  "payload": {
    "function": "",
    "arguments": []
  }
}

Logic & Flow

Logic & FlowStop Unless ConditionstopUnless
Condition.variable*
Value to test — use ((variableName)) to inject a variable. E.g. ((message.content[0]))
Condition.operator
equals
Comparison operatorequalsnotEqualscontainsnotContainsstartsWithendsWithgreaterThanlessThangreaterOrEquallessOrEqualisEmptyisNotEmptymatches
Condition.value
Value to compare against (can use ((variables)))

Stop the workflow if a condition is not met (guard/filter)

Reference: default payload (JSON)
{
  "type": "stopUnless",
  "payload": {
    "condition.variable": "",
    "condition.operator": "equals",
    "condition.value": ""
  }
}
Logic & FlowIF / ELSE BlockifBlock
Condition.variable*
Value to test — use ((variableName)). E.g. ((message.content[0]))
Condition.operator
equals
Comparison operatorequalsnotEqualscontainsnotContainsstartsWithendsWithgreaterThanlessThangreaterOrEquallessOrEqualisEmptyisNotEmptymatches
Condition.value
Value to compare against (can use ((variables)))
Else If Conditions
ELSE IF — conditions checked in order before ELSE

Conditional branching: run different actions based on a condition

Reference: default payload (JSON)
{
  "type": "ifBlock",
  "payload": {
    "condition.variable": "",
    "condition.operator": "equals",
    "condition.value": "",
    "elseIfConditions": []
  }
}
Logic & FlowFor LoopforLoop
Mode*
simple
Loop mode: simple or cstyle. The entire command has a 15 minute execution deadline.simplecstyle
Iterations
5
Shown when Mode = simple
Init
i=0
Shown when Mode = cstyle
Condition
i < 10
Shown when Mode = cstyle
Update
i = i + 1
Shown when Mode = cstyle

Loop through a range of numbers (for loop)

Reference: default payload (JSON)
{
  "type": "forLoop",
  "payload": {
    "mode": "simple",
    "iterations": "5",
    "init": "i=0",
    "condition": "i < 10",
    "update": "i = i + 1"
  }
}
Logic & FlowJSON For Each LoopjsonForEachLoop
Source
JSON string source (can be empty if preceding runtimeJsonBlock provides it)
Path
Optional JSON path navigation segments

Loop through each element of a JSON array or object (forEach)

Reference: default payload (JSON)
{
  "type": "jsonForEachLoop",
  "payload": {
    "source": "",
    "path": []
  }
}
Logic & FlowCalculatecalculate
Expression
Expression mathématique libre (ex: 10+5.9-9, ((var))*2).nPrioritaire sur le mode Operation si rempli.
Operation*
add
Math operation to perform (ignored if Expression is set)addsubtractmultiplydividemodulopowersqrtabsfloorceilroundnegateminmaxlograndomrandomFloat
Operand A*
First operand (supports ((variables))). For random/randomFloat: minimum value.
Operand B
Second operand (required for binary ops). For random/randomFloat: maximum value. For log: base.

Perform math operations and store result

Reference: default payload (JSON)
{
  "type": "calculate",
  "payload": {
    "expression": "",
    "operation": "add",
    "operandA": "",
    "operandB": ""
  }
}
Logic & FlowTranslatetranslate
Key*
Translation key (pick one of the bot or type it)
Args
Arguments: name -> value ({name} in the text); use 1, 2... as names for positional arguments {1}, {2}; count drives plurals
Locale
Optional forced language (fr, en-US, pt-BR...), like $tIn. Empty: language of the person, then of the server, then en-US

Get a text from the bot's translations in the language of the person (like $t)

Reference: default payload (JSON)
{
  "type": "translate",
  "payload": {
    "key": "",
    "args": {},
    "locale": ""
  }
}
Logic & FlowCooldowncooldown
Time*
10s
Error
You are on cooldown! Please wait %time%.

Apply a command cooldown for the user or server

Reference: default payload (JSON)
{
  "type": "cooldown",
  "payload": {
    "time": "10s",
    "error": "You are on cooldown! Please wait %time%."
  }
}
Logic & FlowWaitwait
Duration*
5s

Pause the workflow execution for a specific duration

Reference: default payload (JSON)
{
  "type": "wait",
  "payload": {
    "duration": "5s"
  }
}
Logic & FlowStop Executionstop
This block has no field.

Immediately stop the execution of the current workflow

Reference: default payload (JSON)
{
  "type": "stop",
  "payload": {}
}
Logic & FlowRandom ChoicerandomChoice
Choices*
List of choices (separated by ;)
Variable Name*
random_choice

Pick a random item from a list and store it in a variable

Reference: default payload (JSON)
{
  "type": "randomChoice",
  "payload": {
    "choices": "",
    "variableName": "random_choice"
  }
}
Logic & FlowTry / CatchtryCatch
This block has no field.

Runs the `try` region; when an action fails, `error.*` is set and the `catch` region runs; then `done`.

Reference: default payload (JSON)
{
  "type": "tryCatch",
  "payload": {}
}
Logic & FlowSwitchswitch
Value*
Value to compare, resolved at run time
Mode
text
textint
Result Prefix
Prefix of the result written as <prefix><value>

Compares a value with the `case:<value>` pins and follows the matching one, otherwise `default`.

Reference: default payload (JSON)
{
  "type": "switch",
  "payload": {
    "value": "",
    "mode": "text",
    "resultPrefix": ""
  }
}
Logic & FlowWhilewhileLoop
Condition.variable*
Value to test — use ((variableName)). E.g. ((message.content[0]))
Condition.operator
equals
Comparison operatorequalsnotEqualscontainsnotContainsstartsWithendsWithgreaterThanlessThangreaterOrEquallessOrEqualisEmptyisNotEmptymatches
Condition.value
Value to compare against (can use ((variables)))

Repeats the `body` region while the condition is true, then follows `done`.

Reference: default payload (JSON)
{
  "type": "whileLoop",
  "payload": {
    "condition.variable": "",
    "condition.operator": "equals",
    "condition.value": ""
  }
}
Logic & FlowAsyncasyncBlock
This block has no field.

Runs the `body` region once without making the rest of the flow wait for it, then follows `done`.

Reference: default payload (JSON)
{
  "type": "asyncBlock",
  "payload": {}
}
Logic & FlowBreakbreakLoop
This block has no field.

Leaves the enclosing loop right away.

Reference: default payload (JSON)
{
  "type": "breakLoop",
  "payload": {}
}
Logic & FlowContinuecontinueLoop
This block has no field.

Skips to the next iteration of the enclosing loop.

Reference: default payload (JSON)
{
  "type": "continueLoop",
  "payload": {}
}

Interactions

InteractionsRespond with MessagerespondWithMessage
Content
Response text (supports placeholders ((...)))
Embeds
Optional embeds (same format as normal command reply)
Components
Optional message components (buttons/select menus only).
Ephemeral
Only visible to command author (interaction only)
Reply To Message
Reply to the triggering message (prefix commands: uses message reference)

Reply to command with a normal message

Reference: default payload (JSON)
{
  "type": "respondWithMessage",
  "payload": {
    "content": "",
    "embeds": [],
    "components": {},
    "ephemeral": false,
    "replyToMessage": false
  }
}
InteractionsRespond with Component V2respondWithComponentV2
Channel Id
Channel (optional: current channel or interaction context)
Components
Component V2 layout builder
Ephemeral
Only visible to command author (Interaction ONLY)

Reply to command with buttons/select menus

Reference: default payload (JSON)
{
  "type": "respondWithComponentV2",
  "payload": {
    "channelId": "",
    "components": {},
    "ephemeral": false
  }
}
InteractionsRespond with ModalrespondWithModal
Modal
Modal dialog definition

Show a modal dialog to the user

Reference: default payload (JSON)
{
  "type": "respondWithModal",
  "payload": {
    "modal": {}
  }
}
InteractionsEdit Interaction MessageeditInteractionMessage
Edit Mode
message
Edit standard message or Component V2 layoutmessagecomponentV2
Content
New text content (leave empty to keep current)
Shown when Edit Mode = message
Embeds
Optional embeds to replace the current interaction embeds
Clear Embeds
Remove all embeds from the interaction message
Components
Optional message components (buttons/select menus only)
Components
New component layout (leave empty to keep current)
Clear Components
Remove all components from the message

Edit the deferred or original interaction response

Reference: default payload (JSON)
{
  "type": "editInteractionMessage",
  "payload": {
    "editMode": "message",
    "content": "",
    "embeds": null,
    "clearEmbeds": false,
    "components": {},
    "clearComponents": false
  }
}
InteractionsRespond with AutocompleterespondWithAutocomplete
Items*
Template resolving to a JSON array
Path
$
Label Template
{value}
Value Template
{value}

Reply to a Discord autocomplete interaction with up to 25 dynamic choices

Reference: default payload (JSON)
{
  "type": "respondWithAutocomplete",
  "payload": {
    "items": "",
    "path": "$",
    "labelTemplate": "{value}",
    "valueTemplate": "{value}"
  }
}
InteractionsDefer InteractiondeferInteraction
This block has no field.

Defer the interaction response to prevent Discord timeout

Reference: default payload (JSON)
{
  "type": "deferInteraction",
  "payload": {}
}
InteractionsListen for Button ClicklistenForButtonClick
Custom Id*
Button customId to listen for (supports ((variables)))
Message Id
Optional message scope. Recommended to avoid collisions when the same customId exists on multiple messages.
Workflow Name*
Workflow to run when button is clicked.
Entry Point
Optional entry point override
Arguments
Optional key/value arguments for workflow call
Ttl Minutes
60
min 1, max 60

Register a workflow to run when a button is clicked

Reference: default payload (JSON)
{
  "type": "listenForButtonClick",
  "payload": {
    "customId": "",
    "messageId": "",
    "workflowName": "",
    "entryPoint": "",
    "arguments": {},
    "ttlMinutes": 60
  }
}
InteractionsListen for Select MenulistenForSelectMenu
Custom Id*
Select menu customId to listen for (supports ((variables)))
Message Id
Optional message scope. Recommended to avoid collisions when the same customId exists on multiple messages.
Workflow Name*
Workflow to run when the select menu is used.
Entry Point
Optional entry point override
Arguments
Optional key/value arguments for workflow call
Ttl Minutes
60
min 1, max 60

Register a workflow to run when a select menu is used

Reference: default payload (JSON)
{
  "type": "listenForSelectMenu",
  "payload": {
    "customId": "",
    "messageId": "",
    "workflowName": "",
    "entryPoint": "",
    "arguments": {},
    "ttlMinutes": 60
  }
}
InteractionsListen for Modal SubmitlistenForModalSubmit
Custom Id*
Modal customId to listen for
Message Id
Optional originating message scope when the modal is opened from a component interaction.
Workflow Name*
Workflow to run when modal is submitted.
Entry Point
Optional entry point override
Arguments
Optional key/value arguments for workflow call
Ttl Minutes
60
min 1, max 60

Register a workflow to run when a modal is submitted

Reference: default payload (JSON)
{
  "type": "listenForModalSubmit",
  "payload": {
    "customId": "",
    "messageId": "",
    "workflowName": "",
    "entryPoint": "",
    "arguments": {},
    "ttlMinutes": 60
  }
}
InteractionsListen and ExecutelistenAndExecute
Custom Id*
Component custom ID to listen for (supports ((variables)))
Message Id
Optional message scope. Recommended to avoid collisions when the same customId exists on multiple messages.
Graph
Sub-graph run later (opens the graph editor)
Workflow Name
Legacy: Workflow to run (only if Actions is empty)
Entry Point
Legacy: Optional entry point override
Arguments
Legacy: Optional key/value arguments for workflow call
Ttl Minutes
60
min 1, max 60

Register a workflow to run when a button is clicked, select menu is used, or modal is submitted

Reference: default payload (JSON)
{
  "type": "listenAndExecute",
  "payload": {
    "customId": "",
    "messageId": "",
    "graph": null,
    "workflowName": "",
    "entryPoint": "",
    "arguments": {},
    "ttlMinutes": 60
  }
}
InteractionsSend Direct MessagesendDm
User Id*
User to send DM to
Content*
Message content

Send a private message to a specific user

Reference: default payload (JSON)
{
  "type": "sendDm",
  "payload": {
    "userId": "",
    "content": ""
  }
}

Music

MusicPlay MusicplayMusic
Query*
Search query or track URL
User Id
Optional: user to resolve voice channel from
Channel Id
Optional: explicit voice channel to join

Play a track by search query or URL

Reference: default payload (JSON)
{
  "type": "playMusic",
  "payload": {
    "query": "",
    "userId": "",
    "channelId": ""
  }
}
MusicPause MusicpauseMusic
This block has no field.

Pause the current track

Reference: default payload (JSON)
{
  "type": "pauseMusic",
  "payload": {}
}
MusicResume MusicresumeMusic
This block has no field.

Resume a paused track

Reference: default payload (JSON)
{
  "type": "resumeMusic",
  "payload": {}
}
MusicSkip MusicskipMusic
This block has no field.

Skip to the next track in the queue

Reference: default payload (JSON)
{
  "type": "skipMusic",
  "payload": {}
}
MusicStop MusicstopMusic
This block has no field.

Stop playback and clear the queue

Reference: default payload (JSON)
{
  "type": "stopMusic",
  "payload": {}
}
MusicSet Music VolumesetMusicVolume
Volume*
100
min 0, max 200

Set the player volume (0 to 200)

Reference: default payload (JSON)
{
  "type": "setMusicVolume",
  "payload": {
    "volume": 100
  }
}
MusicSet Music LoopsetMusicLoop
Loop
Enable or disable looping of current track/queue

Enable or disable looping of the queue

Reference: default payload (JSON)
{
  "type": "setMusicLoop",
  "payload": {
    "loop": false
  }
}
MusicSeek Music PositionseekMusic
Position*
0

Seek to a position in the current track

Reference: default payload (JSON)
{
  "type": "seekMusic",
  "payload": {
    "position": 0
  }
}
MusicGet Music InfogetMusicInfo
This block has no field.

Retrieve info about the currently playing track

Reference: default payload (JSON)
{
  "type": "getMusicInfo",
  "payload": {}
}
MusicJoin Voice ChanneljoinVoice
User Id
Optional: user to resolve voice channel from
Channel Id
Optional: explicit voice channel to join

Join a voice channel

Reference: default payload (JSON)
{
  "type": "joinVoice",
  "payload": {
    "userId": "",
    "channelId": ""
  }
}
MusicLeave Voice ChannelleaveVoice
This block has no field.

Leave the voice channel and destroy the player

Reference: default payload (JSON)
{
  "type": "leaveVoice",
  "payload": {}
}