# Create custom commands

## <mark style="color:purple;">Create custom commands</mark>

1. In betsy's dashboard click on the "custom commands" option (1) in the side menu and click the "create" button (2)\
   \
   ![](/files/UW9E4xxAlCvZmDuttOUU)
2. Enter the name of the command you want to display in discord\
   \
   ![](/files/fNzhkobGCZtEREYEGj8s)
3. Enter the description of your command\
   \
   ![](/files/QVrlUIJslBx1UQwHhh1J)
4. Click the save button\
   \
   ![](/files/5J8XsPbjaELPpt5O1myJ)
5. Observe the successful toast message\
   \
   ![](/files/uuVND9o9E0PTSiyXxzrz)
6. This is the way the command is displayed in Discord\
   \
   ![](/files/Tq6SfBWKrfJPFNRB0TjQ)

## <mark style="color:purple;">Adding actions to your created commands</mark>

1. Go to the actions tab\
   ![](/files/2UlIXhNQWhpIODsccYAk)
2. Click the "add action" button\
   \
   ![](/files/y2denjtzLyQfhhdZwVMU)
3. Select the action you want the command to perform, among them:\
   \
   \
   ![](/files/iARar6cmlemUzkfMJ7sI)<br>


---

# 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.betsybot.xyz/features/custom-commands/create-custom-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.
