# Actions

{% hint style="warning" %}
**Our documentation page is undergoing a rework. Some pages are incomplete.**

We are working overtime to resolve this issue, please visit our [Support Server](https://discord.gg/YHVry73av9) if you need any additional help, or would like to report any bugs or suggestions.
{% endhint %}

Action blocks let you define what your bot should do, such as sending a message or performing a task. They can be used in any builder, whether you’re setting up a new event or creating a command.

The following subpages break down each category, such as message blocks and channel blocks. Each section provides detailed explanations of every block along with step-by-step setup instructions. If you ever get stuck or need extra guidance, our [Discord Server](https://discord.gg/botwiz) is available for one-on-one support.

{% hint style="info" %}
Some pages may explain multiple action blocks. \
E.g. [delete-and-pin-a-message](https://docs.botwiz.dev/docs/blocks/actions/message-or-embed-actions/delete-and-pin-a-message "mention") will explain the 'Delete Message' and 'Pin Message' blocks.
{% endhint %}

## List of our Action Blocks

For those new to BotWiz, below you can find a list of our available action blocks. Each can be performed by your bot whenever a command or event has been executed! With each block listed, a brief explanation will be provided along with a link to its subpage.

### Message or Embed

<table><thead><tr><th width="166">Action Block</th><th width="354">Description</th><th>Subpage Link</th></tr></thead><tbody><tr><td>Modal</td><td>Open a form for users to answer questions.</td><td><a data-mention href="actions/message-or-embed-actions/modal">modal</a></td></tr><tr><td>Start Poll</td><td>Start a custom Discord poll.</td><td><a data-mention href="message-or-embed-actions/start-and-end-poll#start-poll">#start-poll</a></td></tr><tr><td>Stop Poll</td><td>End an ongoing Discord poll.</td><td><a data-mention href="message-or-embed-actions/start-and-end-poll#end-poll">#end-poll</a></td></tr><tr><td>Send Message</td><td>Get your bot to send a custom message.</td><td><a data-mention href="actions/message-or-embed-actions/send-and-edit-a-message">send-and-edit-a-message</a></td></tr><tr><td>Add Reaction</td><td>Add a reaction to a message.</td><td></td></tr><tr><td>Remove Reaction</td><td>Remove a reaction from a message.</td><td></td></tr><tr><td>Forward Message</td><td>Forward a message.</td><td></td></tr><tr><td>Publish Message</td><td>Publish a message.</td><td></td></tr><tr><td>Delete Message</td><td>Delete a message.</td><td><a data-mention href="message-or-embed-actions/delete-and-pin-a-message#delete-a-message">#delete-a-message</a></td></tr><tr><td>Copy Message</td><td>Copy a message.</td><td></td></tr><tr><td>Edit Message</td><td>Edit a message.</td><td></td></tr><tr><td>Pin Message</td><td>Pin a message.</td><td><a data-mention href="message-or-embed-actions/delete-and-pin-a-message#pin-a-message">#pin-a-message</a></td></tr></tbody></table>

### Voice Actions

| Action Block            | Description                                 | Subpage Link |
| ----------------------- | ------------------------------------------- | ------------ |
| Join Channel            | Join a channel.                             |              |
| Leave Channel           | Leave a channel.                            |              |
| Mute                    | Mute a member.                              |              |
| Unmute                  | Unmute a member.                            |              |
| Deafen                  | Deafen a member.                            |              |
| Undeafen                | Undeafen a member.                          |              |
| Disconnect              | Disconnect a member from a channel.         |              |
| Request to Speak        | Request to speak in a stage channel.        |              |
| Remove request to Speak | Remove request to speak in a stage channel. |              |
| Suppress                | Suppress a user or channel.                 |              |
| Remove Suppress         | Remove suppress from a user or channel.     |              |

### Role Actions

<table><thead><tr><th width="166">Action Block</th><th width="300">Description</th><th>Subpage Link</th></tr></thead><tbody><tr><td>Add Roles to Everyone</td><td>Assign a role to every user in the server.</td><td><a data-mention href="actions/role-actions/removing-and-adding-a-role-to-everyone">removing-and-adding-a-role-to-everyone</a></td></tr><tr><td>Add Role</td><td>Assign a role to a user.</td><td><a data-mention href="actions/role-actions/create-or-add-a-role">create-or-add-a-role</a></td></tr><tr><td>Create Role</td><td>Create a new guild role.</td><td><a data-mention href="actions/role-actions/create-or-add-a-role">create-or-add-a-role</a></td></tr><tr><td>Delete Role</td><td>Delete a guild role.</td><td><a data-mention href="actions/role-actions/delete-or-remove-a-role">delete-or-remove-a-role</a></td></tr><tr><td>Edit Role</td><td>Edit a guild role.</td><td><a data-mention href="actions/role-actions/edit-a-role">edit-a-role</a></td></tr><tr><td>Remove Roles</td><td>Remove a role from a user.</td><td><a data-mention href="actions/role-actions/delete-or-remove-a-role">delete-or-remove-a-role</a></td></tr><tr><td>Remove Roles from Everyone</td><td>Remove a role from everyone in the server.</td><td><a data-mention href="actions/role-actions/removing-and-adding-a-role-to-everyone">removing-and-adding-a-role-to-everyone</a></td></tr></tbody></table>

### Channel Actions

<table><thead><tr><th width="166">Action Block</th><th width="380">Description</th><th>Subpage Link</th></tr></thead><tbody><tr><td>Create Channel</td><td>Create a guild channel.</td><td><a data-mention href="actions/channel-actions/create-channel">create-channel</a></td></tr><tr><td>Delete Channel</td><td>Delete a guild channel.</td><td><a data-mention href="actions/channel-actions/delete-channel">delete-channel</a></td></tr><tr><td>Edit Channel</td><td>Edit a guild channel.</td><td><a data-mention href="actions/channel-actions/edit-channel">edit-channel</a></td></tr><tr><td> Purge</td><td>Purge messages in a guild channel.</td><td><a data-mention href="actions/channel-actions/purge-messages">purge-messages</a></td></tr></tbody></table>

### Member Actions

<table><thead><tr><th width="191">Action Block</th><th width="354">Description</th><th>Subpage Link</th></tr></thead><tbody><tr><td>Manage Nickname</td><td>Update a member's nickname in a guild.</td><td><a data-mention href="actions/member-actions/member-nickname">member-nickname</a></td></tr><tr><td>Timeout Member</td><td>Timeout / mute a guild member.</td><td><a data-mention href="actions/member-actions/timeout-member">timeout-member</a></td></tr><tr><td>Kick Member</td><td>Kick a member from a guild.</td><td><a data-mention href="actions/member-actions/kick-member">kick-member</a></td></tr><tr><td>Unban Member</td><td>Unban a member from a guild.</td><td><a data-mention href="actions/member-actions/unban-member">unban-member</a></td></tr><tr><td>Ban Member</td><td>Ban a member from a guild.</td><td><a data-mention href="actions/member-actions/ban-member">ban-member</a></td></tr></tbody></table>

### Variable Actions

<table><thead><tr><th width="186">Action Block</th><th width="354">Description</th><th>Subpage Link</th></tr></thead><tbody><tr><td>Calculate Variable</td><td>Run an equation on a variable.</td><td><a data-mention href="actions/variable-actions/calculate-variable">calculate-variable</a></td></tr><tr><td>Delete Variable</td><td>Remove the values from a variable.</td><td><a data-mention href="actions/variable-actions/delete-variable">delete-variable</a></td></tr><tr><td>Set Variable</td><td>Set a variable to a specific value.</td><td><a data-mention href="actions/variable-actions/set-variable">set-variable</a></td></tr></tbody></table>

### Action Blocks

<table><thead><tr><th width="166">Action Block</th><th width="374">Description</th><th>Subpage Link</th></tr></thead><tbody><tr><td>API</td><td>Use external API in your build.</td><td><a data-mention href="actions/action-blocks/api">api</a></td></tr><tr><td>Break Loop</td><td>End an ongoing loop early.</td><td><a data-mention href="action-blocks/loop-actions#break-a-loop">#break-a-loop</a></td></tr><tr><td>Loop</td><td>Start a loop.</td><td><a data-mention href="action-blocks/loop-actions#start-a-loop">#start-a-loop</a></td></tr><tr><td>Wait</td><td>Wait before the next block starts.</td><td><a data-mention href="action-blocks/waiting-and-logging#wait">#wait</a></td></tr><tr><td>Logging</td><td>Create custom logs for your bot logs.</td><td><a data-mention href="actions/action-blocks/waiting-and-logging">waiting-and-logging</a></td></tr></tbody></table>
