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

# Slash Commands

{% hint style="danger" %}
Starting at the end of August 2022, Discord will only allow bot commands to be called by slash commands.
{% endhint %}

## What are Slash Commands?

Slash commands are a new way to interact with bots on Discord. Simply type "/" in your text box to view available commands.

{% embed url="<https://www.youtube.com/watch?v=4XxcpBxSCiU>" %}
Discord Slash Command promo video
{% endembed %}

## How do I enable Slash Commands for Eventcord on my server?

When the Slash Command update for Eventcord was published, the bot attempted to generate commands for every server. Eventcord uses guild-based slash command instead of global commands to allow for localization. If you do not see any slash commands, try using **<@480889253165793290>setup slash**. If you receive an error, try reauthorizing the bot by using the invite link.

## Slash Commands are not responding

Eventcord started using slash commands before Discord created a multi-lingual feature for them. As such, Eventcord uses server slash command which only work for your server in your specified language. There may be a disagreement between the generated slash commands and what Eventcord accepts due to this. Use **<@480889253165793290>setup slash** to regenerate commands for your server.

{% content-ref url="/pages/-LTl7pud\_J\_2DBC9Zhqa" %}
[Broken mention](broken://pages/-LTl7pud_J_2DBC9Zhqa)
{% endcontent-ref %}


---

# 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.eventcord.xyz/using-the-bot/slash-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.
