# Custom commads

### Signing up

Before you can get started you will need a RumbleBot account that is linked to your Rumble channel. This only takes a few minutes and is a straightforward process. [Guide](/creating-an-account.md).

### Creating your first command

First, navigate to the custom commands page and click "New custom command". This will open a modal where you can configure your command.

<figure><img src="/files/boNnLHWsvS3hFeHVdQ5k" alt="Custom command creation modal"><figcaption></figcaption></figure>

You can select from one of the presets, which are examples of popular commands, or you can configure your own command. It is not required to select a preset, but they can be helpful in demonstrating how to create certain commands.

Enter the name of the command, the response, and select who can use the command. The command response can only be 200 characters in length, which is the message length limit on Rumble.

Click "Save" and you will see the command added to your list.

### Editing or removing a command

To edit or remove a command simply click the command in the "Your Commands" list. You can change any of the settings, or you can remove the command from here.

### Variables

To make your commands more dynamic you may want to use variables. The `{{user}}` variable will be replaced with whoever sent the command, and the `{{variable}}` variable will be replaced with whatever follows the command. View the "Welcome" and "Lurk" presets to view examples of these.

### Using the commands

Next time you go live (or if you already are live) you can use the command by typing the command name proceded with !. For example, !discord, !welcome, !lurk, etc. The bot will then respond with the command response.

<figure><img src="/files/fpLv9n4USAvwsBQzHJQr" alt="Preview of a RumbleBot !discord command response"><figcaption></figcaption></figure>


---

# 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.rumble.bot/chat-bot/custom-commads.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.
