Actions
Last updated
Last updated
These blocks are blue in color and are the heart of the command builder, as they define the behaviour of the bot. An action block can execute a wide range of actions such as sending messages, making API calls, managing the guild etc. By connecting action blocks together, you can create things like conversational flows that respond to user inputs and carry out specific tasks and more.
You can connect action blocks by following these simple steps:
Simply press the top circle on the action block to start the connection line, from here you can simply press the connection circle on the bottom of the block you wish to connect your action to, to complete the circuit and connect the blocks together.
Simply press and hold the top circle on the action block to start the connection line, from here you can simply drag the connection line to the connection circle on the bottom of the block you wish to connect your action to, to complete the circuit and connect the blocks together.
Message actions allow you to reply to an user's interaction. For example, you can use them when a command is used, an event has been triggered or a button / select menu has been clicked.
You can use custom variable actions to update and assign data to your custom variables.
API actions allow you to interact with external services and post / retrieve data.
Using loop actions, you can easily run a set of actions multiple times.
Voice actions allow you to run common actions such as joining a voice channel or muting an user.
With role actions you can update an user's role or create / update a given role.
Channel actions allow you to create a channel or update an existing one.
Thread actions allow you to create a thread or update an existing one.
With the help of those actions you can do general server actions such as updating an user's nickname, banning them from the server or creating a server invite.
This section contains miscellanous and more advanced actions, such as waiting before the next action, setting a command specific variable or manipulating some text using special functions.