> For the complete documentation index, see [llms.txt](https://docs.gamesonline-bot.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gamesonline-bot.fr/francais/commandes/commandes-de-configurations/gestion-du-prefix.md).

# Gestion du Préfix

## ❗Présentation

> ⚙️ Cette commande vous permet de modifier le préfix du bot sur votre serveur. Une fois le préfix modifié, toutes les commandes du bot commenceront par le préfix que vous avez choisi.

**Exemple :** Si le préfix est modifié en <mark style="color:purple;">`!`</mark>, la commande d'aide sera <mark style="color:purple;">`!help`</mark>.

{% hint style="success" %}
**Bon à savoir :** Vous ne vous souvenez plus du préfix de votre serveur ?\
Mentionnez le Bot afin d'afficher le menu d'aide. Vous y retrouverez votre préfix !
{% endhint %}

***

## ℹ️ Utilisation de la Commande : <mark style="color:purple;">g!setprefix</mark>

{% hint style="info" %}
L'utilisation de cette commande nécessite la permission <mark style="color:red;">`Administrateur`</mark>.
{% endhint %}

<details>

<summary><mark style="color:purple;"><strong>g!setprefix</strong></mark> › <em>Modifier le préfix du Bot sur votre serveur.</em></summary>

**Utilisation :** <mark style="color:purple;">`g!setprefix PREFIX`</mark>

> ***Exemple :*** *<mark style="color:yellow;">`g!setprefix g!`</mark>*

</details>

{% hint style="warning" %}
Votre préfix ne peux pas dépasser 3 caractères et ne doit pas contenir l'un de ces caractères : `` " ' ` ``
{% endhint %}


---

# 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.gamesonline-bot.fr/francais/commandes/commandes-de-configurations/gestion-du-prefix.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.
