# Gestion des Salons

{% hint style="warning" %}
Cette fonctionnalité est actuellement en **Bêta**, des bugs peuvent survenir !
{% endhint %}

## ❗Présentation

> ⚙️ Cette commande vous permet de bloquer l'accès à certains jeux du bot en fonction du salon où la commande est exécutée.

{% hint style="danger" %}
Vous ne pouvez appliquer qu'une seule restriction par salon !
{% endhint %}

***

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

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

<details>

<summary><mark style="color:purple;"><strong>g!channels block</strong></mark> › <em>Bloquer l'utilisation du Bot dans un salon.</em></summary>

**Utilisation :** <mark style="color:purple;">`g!channels block #SALON`</mark>

> ***Exemple :*** *<mark style="color:yellow;">`g!channels block #général`</mark>*

</details>

<details>

<summary><mark style="color:purple;"><strong>g!channels only</strong></mark> › <em>Limiter l'utilisation du Bot à un certain jeu dans un salon.</em></summary>

**Utilisation :** <mark style="color:purple;">`g!channels only #SALON JEU`</mark>

> ***Exemple :*** *<mark style="color:yellow;">`g!channels only #dobble dobble`</mark>*

</details>

<details>

<summary><mark style="color:purple;">g!channels unblock</mark> › <em>Débloquer l'utilisation du Bot dans un salon.</em></summary>

**Utilisation :** <mark style="color:purple;">`g!channels unblock #SALON`</mark>

> ***Exemple :*** *<mark style="color:yellow;">`g!channels unblock #général`</mark>*

</details>

<details>

<summary><mark style="color:purple;"><strong>g!channels check</strong></mark> › <em>Afficher toute les restrictions appliquées sur un salon.</em></summary>

**Utilisation :** <mark style="color:purple;">`g!channels check #SALON`</mark>

> ***Exemple :*** *<mark style="color:yellow;">`g!channels check #général`</mark>*

</details>


---

# 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.gamesonline-bot.fr/commandes/commandes-de-configurations/gestion-des-salons.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.
