# Commands

### Adding Commands

To add a command click the "**Commands**" tab from the Chatbot 2.0 page.

![Example !so command 😲](/files/-Lw8brccPuqiF7Va9sMP)

| Option     | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ---------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Command    | This is the command somebody can type in your chat room, for example: !discord                                                                                                                                                                                                                                                                                                                                                                                    |
| Response   | <p>This is what the chat bot will send to the chat room once the command has been typed.</p><p></p><p>The response can include certain tags to dynamically generate the command.</p><ul><li>##sender## will be replaced with the user who typed the command</li><li>##target## will write out a user you have tagged in your command.  eg: !so @tidy would return "tidy" . (Great for making !so commands - see our list of examples to make your own!)</li></ul> |
| Permission | <p>You can choose who can use your command by using the drop down select box:</p><ul><li>Everybody</li><li>Moderators</li><li>Channel Owner</li></ul>                                                                                                                                                                                                                                                                                                             |

### Updating / Deleting a Command

![](/files/-Lw8Z1vQoc8RQp7FpzdT)

You are able to update/delete an existing command by editing the response and pressing **Update / Delete**

{% hint style="success" %}
Once your add / edit / remove commands, please allow up to 60 seconds for the Global Bot to update your settings.
{% endhint %}

![](/files/-Lw8_CC3Vm5y3A_rfTTB)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tidylabs.stream/tidylabs-chat-bot/global-chat-bot/commands.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
