> For the complete documentation index, see [llms.txt](https://docs.tidylabs.stream/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tidylabs.stream/tidylabs-chat-bot/global-chat-bot/commands.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
