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
Delete one or more messages
Reference: default payload (JSON)
{
"type": "deleteMessages",
"payload": {
"channelId": "",
"messageCount": 10,
"onlyUserId": "",
"beforeMessageId": "",
"deleteItself": false,
"reason": "",
"filterBots": false,
"filterUsers": false
}
}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
}
}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
}
}Pin a message in a channel
Reference: default payload (JSON)
{
"type": "pinMessage",
"payload": {
"channelId": "",
"messageId": "",
"reason": ""
}
}Fetch a message and expose its fields
Reference: default payload (JSON)
{
"type": "getMessage",
"payload": {
"channelId": "",
"messageId": ""
}
}Unpin a message in a channel
Reference: default payload (JSON)
{
"type": "unpinMessage",
"payload": {
"channelId": "",
"messageId": "",
"reason": ""
}
}Create a poll message in a channel
Reference: default payload (JSON)
{
"type": "createPoll",
"payload": {
"channelId": "",
"question": "",
"answers": [
"Yes",
"No"
],
"durationHours": 24,
"allowMultiselect": false
}
}End an active poll message immediately
Reference: default payload (JSON)
{
"type": "endPoll",
"payload": {
"channelId": "",
"messageId": ""
}
}Delete the message that triggered this command
Reference: default payload (JSON)
{
"type": "deleteTrigger",
"payload": {}
}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
Add an emoji reaction to a message
Reference: default payload (JSON)
{
"type": "addReaction",
"payload": {
"channelId": "",
"messageId": "",
"emoji": ""
}
}ReactionsRemove ReactionremoveReaction
Remove a reaction from a message
Reference: default payload (JSON)
{
"type": "removeReaction",
"payload": {
"channelId": "",
"messageId": "",
"emoji": "",
"userId": "",
"removeOwn": false
}
}ReactionsClear All ReactionsclearAllReactions
Remove all reactions from a message
Reference: default payload (JSON)
{
"type": "clearAllReactions",
"payload": {
"channelId": "",
"messageId": ""
}
}Channels
ChannelsCreate ChannelcreateChannel
Create a new channel
Reference: default payload (JSON)
{
"type": "createChannel",
"payload": {
"name": "",
"type": "text",
"categoryId": "",
"topic": "",
"nsfw": false,
"slowmode": "0s",
"reason": ""
}
}ChannelsUpdate ChannelupdateChannel
Update channel settings
Reference: default payload (JSON)
{
"type": "updateChannel",
"payload": {
"channelId": "",
"name": "",
"topic": "",
"nsfw": false,
"slowmode": "0s",
"reason": ""
}
}ChannelsRemove ChannelremoveChannel
Delete a channel
Reference: default payload (JSON)
{
"type": "removeChannel",
"payload": {
"channelId": "",
"reason": ""
}
}ChannelsCreate InvitecreateInvite
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
Delete an existing invite by code
Reference: default payload (JSON)
{
"type": "deleteInvite",
"payload": {
"inviteCode": "",
"reason": ""
}
}ChannelsGet InvitegetInvite
Fetch invite information by code
Reference: default payload (JSON)
{
"type": "getInvite",
"payload": {
"inviteCode": ""
}
}ChannelsCreate ThreadcreateThread
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
Add a member to a thread
Reference: default payload (JSON)
{
"type": "addThreadMember",
"payload": {
"threadId": "",
"userId": ""
}
}ChannelsRemove Thread MemberremoveThreadMember
Remove a member from a thread
Reference: default payload (JSON)
{
"type": "removeThreadMember",
"payload": {
"threadId": "",
"userId": ""
}
}ChannelsEdit Channel PermissionseditChannelPermissions
Create or update channel permission overwrites
Reference: default payload (JSON)
{
"type": "editChannelPermissions",
"payload": {
"channelId": "",
"targetId": "",
"targetType": "member",
"permissions": {},
"reason": ""
}
}ChannelsDelete Channel PermissiondeleteChannelPermission
Delete a channel permission overwrite
Reference: default payload (JSON)
{
"type": "deleteChannelPermission",
"payload": {
"channelId": "",
"targetType": "member",
"targetId": "",
"reason": ""
}
}Moderation
ModerationBan UserbanUser
Permanently ban a user from the server
Reference: default payload (JSON)
{
"type": "banUser",
"payload": {
"userId": "",
"reason": "",
"deleteMessageDays": 1
}
}ModerationUnban UserunbanUser
Revoke a user's ban
Reference: default payload (JSON)
{
"type": "unbanUser",
"payload": {
"userId": "",
"reason": ""
}
}ModerationKick UserkickUser
Kick a member from the server
Reference: default payload (JSON)
{
"type": "kickUser",
"payload": {
"userId": "",
"reason": ""
}
}ModerationMute UsermuteUser
Temporarily exclude (timeout) a member
Reference: default payload (JSON)
{
"type": "muteUser",
"payload": {
"userId": "",
"duration": "10m",
"until": "",
"reason": ""
}
}ModerationUnmute UserunmuteUser
Remove temporary exclusion from a member
Reference: default payload (JSON)
{
"type": "unmuteUser",
"payload": {
"userId": "",
"reason": ""
}
}ModerationAdd RoleaddRole
Assign a role to a member
Reference: default payload (JSON)
{
"type": "addRole",
"payload": {
"userId": "",
"roleId": "",
"reason": ""
}
}ModerationRemove RoleremoveRole
Remove a role from a member
Reference: default payload (JSON)
{
"type": "removeRole",
"payload": {
"userId": "",
"roleId": "",
"reason": ""
}
}ModerationMove to Voice ChannelmoveToVoiceChannel
Move a member to a specific voice channel
Reference: default payload (JSON)
{
"type": "moveToVoiceChannel",
"payload": {
"userId": "",
"targetChannelId": "",
"reason": ""
}
}ModerationDisconnect from VoicedisconnectFromVoice
Disconnect a member from voice
Reference: default payload (JSON)
{
"type": "disconnectFromVoice",
"payload": {
"userId": "",
"reason": ""
}
}ModerationServer Mute MemberserverMuteMember
Server-mute or unmute a member
Reference: default payload (JSON)
{
"type": "serverMuteMember",
"payload": {
"userId": "",
"mute": true,
"reason": ""
}
}ModerationServer Deafen MemberserverDeafenMember
Server-deafen or undeafen a member
Reference: default payload (JSON)
{
"type": "serverDeafenMember",
"payload": {
"userId": "",
"deaf": true,
"reason": ""
}
}ModerationCreate AutoMod RulecreateAutoModRule
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
Delete an auto-moderation rule
Reference: default payload (JSON)
{
"type": "deleteAutoModRule",
"payload": {
"ruleId": "",
"reason": ""
}
}ModerationList AutoMod RuleslistAutoModRules
List all auto-moderation rules in guild
Reference: default payload (JSON)
{
"type": "listAutoModRules",
"payload": {}
}ModerationSet NicknamesetNickname
Change a server member's nickname
Reference: default payload (JSON)
{
"type": "setNickname",
"payload": {
"userId": "",
"nickname": "",
"reason": ""
}
}ModerationSlowmodeslowmode
Set the slowmode duration for a channel
Reference: default payload (JSON)
{
"type": "slowmode",
"payload": {
"channelId": "",
"duration": "5s",
"reason": ""
}
}Guild & Members
Guild & MembersUpdate AutoModupdateAutoMod
Update auto-moderation settings
Reference: default payload (JSON)
{
"type": "updateAutoMod",
"payload": {
"enabled": true,
"filterWords": [],
"allowedRoles": [],
"maxMentions": 5,
"reason": ""
}
}Guild & MembersUpdate GuildupdateGuild
Update guild settings
Reference: default payload (JSON)
{
"type": "updateGuild",
"payload": {
"name": "",
"description": "",
"preferredLocale": "",
"afkChannelId": "",
"afkTimeoutSeconds": 300,
"systemChannelId": "",
"rulesChannelId": "",
"publicUpdatesChannelId": "",
"reason": ""
}
}Guild & MembersList MemberslistMembers
List members in a guild with options
Reference: default payload (JSON)
{
"type": "listMembers",
"payload": {
"limit": 100,
"after": "",
"query": ""
}
}Guild & MembersGet MembergetMember
Get member information
Reference: default payload (JSON)
{
"type": "getMember",
"payload": {
"userId": ""
}
}Guild & MembersCreate EmojicreateEmoji
Create a guild emoji from image data
Reference: default payload (JSON)
{
"type": "createEmoji",
"payload": {
"name": "",
"imageUrl": "",
"imageBase64": "",
"roles": [],
"reason": ""
}
}Guild & MembersUpdate EmojiupdateEmoji
Update guild emoji name or role access
Reference: default payload (JSON)
{
"type": "updateEmoji",
"payload": {
"emojiId": "",
"name": "",
"roles": [],
"reason": ""
}
}Guild & MembersDelete EmojideleteEmoji
Delete a guild emoji
Reference: default payload (JSON)
{
"type": "deleteEmoji",
"payload": {
"emojiId": "",
"reason": ""
}
}Guild & MembersGet Guild OnboardinggetGuildOnboarding
Fetch current guild onboarding configuration
Reference: default payload (JSON)
{
"type": "getGuildOnboarding",
"payload": {}
}Guild & MembersUpdate Guild OnboardingupdateGuildOnboarding
Update guild onboarding configuration
Reference: default payload (JSON)
{
"type": "updateGuildOnboarding",
"payload": {
"enabled": true
}
}Guild & MembersUpdate Self User (Bot Profile)updateSelfUser
Update current bot user profile (username/avatar)
Reference: default payload (JSON)
{
"type": "updateSelfUser",
"payload": {
"username": "",
"avatarUrl": "",
"avatarBase64": ""
}
}Guild & MembersLeave ServerleaveGuild
Make the bot leave the guild/server
Reference: default payload (JSON)
{
"type": "leaveGuild",
"payload": {}
}Components
ComponentsSend Component V2sendComponentV2
Send interactive components
Reference: default payload (JSON)
{
"type": "sendComponentV2",
"payload": {
"channelId": "",
"components": {}
}
}ComponentsEdit Component V2editComponentV2
Edit existing components
Reference: default payload (JSON)
{
"type": "editComponentV2",
"payload": {
"channelId": "",
"messageId": "",
"components": {}
}
}Webhooks
WebhooksSend WebhooksendWebhook
Send message via Webhook
Reference: default payload (JSON)
{
"type": "sendWebhook",
"payload": {
"webhookUrl": "",
"webhookId": "",
"token": "",
"content": "",
"username": "",
"avatarUrl": "",
"threadId": "",
"wait": true,
"componentV2": null
}
}WebhooksEdit WebhookeditWebhook
Edit an existing Webhook
Reference: default payload (JSON)
{
"type": "editWebhook",
"payload": {
"webhookUrl": "",
"webhookId": "",
"token": "",
"name": "",
"channelId": "",
"reason": ""
}
}WebhooksDelete WebhookdeleteWebhook
Delete a webhook
Reference: default payload (JSON)
{
"type": "deleteWebhook",
"payload": {
"webhookUrl": "",
"webhookId": "",
"token": "",
"reason": ""
}
}WebhooksList WebhookslistWebhooks
List all Webhooks in a channel or guild
Reference: default payload (JSON)
{
"type": "listWebhooks",
"payload": {
"channelId": "",
"guildId": ""
}
}WebhooksGet WebhookgetWebhook
Get Webhook information by ID
Reference: default payload (JSON)
{
"type": "getWebhook",
"payload": {
"webhookUrl": "",
"webhookId": "",
"token": ""
}
}HTTP & Variables
HTTP & VariablesHTTP RequesthttpRequest
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
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
Read a global variable and inject into runtime variables
Reference: default payload (JSON)
{
"type": "getGlobalVariable",
"payload": {
"key": "",
"storeAs": ""
}
}HTTP & VariablesRemove variable (whole bot)removeGlobalVariable
Delete a global variable
Reference: default payload (JSON)
{
"type": "removeGlobalVariable",
"payload": {
"key": ""
}
}HTTP & VariablesSet variable (per server, member…)setScopedVariable
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
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
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
Delete a scoped variable
Reference: default payload (JSON)
{
"type": "removeScopedVariable",
"payload": {
"scope": "guild",
"contextId": "",
"key": ""
}
}HTTP & VariablesRename variable (per server, member…)renameScopedVariable
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
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
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
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
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
Execute a saved workflow (supports entry point + arguments)
Reference: default payload (JSON)
{
"type": "runWorkflow",
"payload": {
"workflowName": "",
"entryPoint": "",
"arguments": {}
}
}WorkflowsBDFD script (not convertible)runBdfdScript
Internal fallback for BDFD source that cannot be converted into blocks
Reference: default payload (JSON)
{
"type": "runBdfdScript",
"payload": {
"scriptContent": ""
}
}WorkflowsDebug ProfiledebugProfile
Generate execution profile and diagnostics info
Reference: default payload (JSON)
{
"type": "debugProfile",
"payload": {}
}WorkflowsLog Messagelog
Print or store diagnostic message to action logs
Reference: default payload (JSON)
{
"type": "log",
"payload": {
"message": ""
}
}WorkflowsExecute JSON OperationsruntimeJsonBlock
Run block of JSON processing actions
Reference: default payload (JSON)
{
"type": "runtimeJsonBlock",
"payload": {}
}WorkflowsExecute Image CanvasruntimeImageBlock
Run block of image canvas processing actions
Reference: default payload (JSON)
{
"type": "runtimeImageBlock",
"payload": {
"imageName": ""
}
}WorkflowsCreate CanvascanvasCreateBlock
Create a blank image canvas
Reference: default payload (JSON)
{
"type": "canvasCreateBlock",
"payload": {}
}WorkflowsLoad ImagecanvasLoadImageBlock
Load an image from a URL or source into canvas
Reference: default payload (JSON)
{
"type": "canvasLoadImageBlock",
"payload": {}
}WorkflowsDraw TextcanvasDrawTextBlock
Draw text on the image canvas with styling options
Reference: default payload (JSON)
{
"type": "canvasDrawTextBlock",
"payload": {}
}WorkflowsDraw CirclecanvasDrawCircleBlock
Draw a circle on the image canvas
Reference: default payload (JSON)
{
"type": "canvasDrawCircleBlock",
"payload": {}
}WorkflowsDraw RectanglecanvasDrawRectBlock
Draw a rectangle on the image canvas
Reference: default payload (JSON)
{
"type": "canvasDrawRectBlock",
"payload": {}
}WorkflowsDraw LinecanvasDrawLineBlock
Draw a line on the canvas
Reference: default payload (JSON)
{
"type": "canvasDrawLineBlock",
"payload": {}
}WorkflowsRegister Guild CommandsregisterGuildCommands
Register application commands to a guild
Reference: default payload (JSON)
{
"type": "registerGuildCommands",
"payload": {
"commandNames": []
}
}WorkflowsUnregister Guild CommandsunregisterGuildCommands
Unregister application commands from a guild
Reference: default payload (JSON)
{
"type": "unregisterGuildCommands",
"payload": {
"commandNames": []
}
}WorkflowsFunctioncallFunction
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
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
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
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
Loop through each element of a JSON array or object (forEach)
Reference: default payload (JSON)
{
"type": "jsonForEachLoop",
"payload": {
"source": "",
"path": []
}
}Logic & FlowCalculatecalculate
Perform math operations and store result
Reference: default payload (JSON)
{
"type": "calculate",
"payload": {
"expression": "",
"operation": "add",
"operandA": "",
"operandB": ""
}
}Logic & FlowTranslatetranslate
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
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
Pause the workflow execution for a specific duration
Reference: default payload (JSON)
{
"type": "wait",
"payload": {
"duration": "5s"
}
}Logic & FlowStop Executionstop
Immediately stop the execution of the current workflow
Reference: default payload (JSON)
{
"type": "stop",
"payload": {}
}Logic & FlowRandom ChoicerandomChoice
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
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
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
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
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
Leaves the enclosing loop right away.
Reference: default payload (JSON)
{
"type": "breakLoop",
"payload": {}
}Logic & FlowContinuecontinueLoop
Skips to the next iteration of the enclosing loop.
Reference: default payload (JSON)
{
"type": "continueLoop",
"payload": {}
}Interactions
InteractionsRespond with MessagerespondWithMessage
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
Reply to command with buttons/select menus
Reference: default payload (JSON)
{
"type": "respondWithComponentV2",
"payload": {
"channelId": "",
"components": {},
"ephemeral": false
}
}InteractionsRespond with ModalrespondWithModal
Show a modal dialog to the user
Reference: default payload (JSON)
{
"type": "respondWithModal",
"payload": {
"modal": {}
}
}InteractionsEdit Interaction MessageeditInteractionMessage
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
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
Defer the interaction response to prevent Discord timeout
Reference: default payload (JSON)
{
"type": "deferInteraction",
"payload": {}
}InteractionsListen for Button ClicklistenForButtonClick
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
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
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
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
Send a private message to a specific user
Reference: default payload (JSON)
{
"type": "sendDm",
"payload": {
"userId": "",
"content": ""
}
}Music
MusicPlay MusicplayMusic
Play a track by search query or URL
Reference: default payload (JSON)
{
"type": "playMusic",
"payload": {
"query": "",
"userId": "",
"channelId": ""
}
}MusicPause MusicpauseMusic
Pause the current track
Reference: default payload (JSON)
{
"type": "pauseMusic",
"payload": {}
}MusicResume MusicresumeMusic
Resume a paused track
Reference: default payload (JSON)
{
"type": "resumeMusic",
"payload": {}
}MusicSkip MusicskipMusic
Skip to the next track in the queue
Reference: default payload (JSON)
{
"type": "skipMusic",
"payload": {}
}MusicStop MusicstopMusic
Stop playback and clear the queue
Reference: default payload (JSON)
{
"type": "stopMusic",
"payload": {}
}MusicSet Music VolumesetMusicVolume
Set the player volume (0 to 200)
Reference: default payload (JSON)
{
"type": "setMusicVolume",
"payload": {
"volume": 100
}
}MusicSet Music LoopsetMusicLoop
Enable or disable looping of the queue
Reference: default payload (JSON)
{
"type": "setMusicLoop",
"payload": {
"loop": false
}
}MusicSeek Music PositionseekMusic
Seek to a position in the current track
Reference: default payload (JSON)
{
"type": "seekMusic",
"payload": {
"position": 0
}
}MusicGet Music InfogetMusicInfo
Retrieve info about the currently playing track
Reference: default payload (JSON)
{
"type": "getMusicInfo",
"payload": {}
}MusicJoin Voice ChanneljoinVoice
Join a voice channel
Reference: default payload (JSON)
{
"type": "joinVoice",
"payload": {
"userId": "",
"channelId": ""
}
}MusicLeave Voice ChannelleaveVoice
Leave the voice channel and destroy the player
Reference: default payload (JSON)
{
"type": "leaveVoice",
"payload": {}
}