# Discord Functionalities

## 💬 Available Commands

Once installed, the bot registers the following slash commands on your Discord server:

### `/infojoueur`

Retrieves information about a specific player from your Madonn'Admin community. The bot returns a detailed embed including:

* FiveM username
* Total playtime
* Join date and last connection date
* License identifiers
* A direct link to their **Madonn'Admin profile**
* A **sanction preview** button
* An **Apply a sanction** button for quick moderation actions directly from Discord

<figure><img src="/files/D7timyXI1jWvNgzSho7r" alt="" width="240"><figcaption></figcaption></figure>

<figure><img src="/files/BIpj8cHgPdnfDxfjGGpf" alt="" width="327"><figcaption></figcaption></figure>

<figure><img src="/files/IVA1v8kNOTIDJiCYXKr0" alt="" width="367"><figcaption></figcaption></figure>

### `/profil`

Displays your own Madonn'Admin profile — your linked player information, rank, and community association.

### `/statut embed`

Sends a **permanent status embed** in the current channel. This embed automatically updates to reflect the live status of your FiveM servers, showing:

* Server name
* Online / Offline status
* Number of connected players
* The F8 connection command (`connect xxx`)
* Last update timestamp and resource version

> 💡 This command is ideal for a dedicated `#server-status` channel. The embed updates automatically — no need to resend it.

<figure><img src="/files/HM6qMN5t4I30d95lGFLa" alt=""><figcaption></figcaption></figure>

### `/statut obtenir`

Retrieves the current status of your servers on demand, without posting a permanent embed. Useful for quickly checking server status in any channel.


---

# 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://documentation.madonnestudio.com/paid-scripts/madonnadmin/how-to-use-it/discord-functionalities.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.
