Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 23 additions & 23 deletions docs/en/2.modules/1.arrivees-et-departs.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
---
title: Arrivées & départs
description: Configurez des messages qui s'enverront lorsqu'un membre rejoint ou quitte votre serveur.
title: Arrivals & Departures
description: Configure messages that will be sent when a member joins or leaves your server.
navigation.icon: 'twemoji:waving-hand'
contributors: ['bariboo', 'theorik', 'thecreatorn3ant', 'imroxxor', 'draftproducts']
updatedAt: '2025-05-26'
---

## Welcome Messages
## Welcome messages

Welcome messages are sent when a member joins your server. They allow you to welcome a new arrival and provide them with information about your server.
Welcome messages are sent when a member joins your server. They allow you to greet a new arrival and provide them with information about your server.

![Welcome message example](../assets/arrivees-et-departs/welcome.png)

### Configuration

::tabs
::tab{ label="Via the /config command" }
Please first go to the \</config> ➜ 👋
Please go to the \</config> ➜ 👋
Arrivals & Departures ➜ "Welcome Message".

Here are the different buttons and their uses:
- "Enable the system" ➜ Allows you to enable or disable the system.
- "Send channel" ➜ Set the channel where the welcome message will be sent.
- "Departure channel" ➜ Set the channel where the welcome message will be sent.
- "Custom message" ➜ Set the message that will be sent in the welcome message (maximum 1,200 characters).

::collapse{ label="Variables" }
Variables are pieces of text that change depending on the person, server, channel, or time. Here are those available in DraftBot's welcome messages.
::collapse{ label="Variable" }
A variable is a piece of text that changes depending on the person, server, channel, or time. Here are the ones you can use in DraftBot's welcome messages.

- `{user}` ➜ Member mention
- `{user}` ➜ Mention the member
- `{user.id}` ➜ Member ID
- `{user.username}` ➜ Member username
- `{user.nickname}` ➜ Member nickname or username
- `{user.username}` ➜ Member's username
- `{user.nickname}` ➜ Member's nickname or username
- `{server}` ➜ Server name
- `{server.id}` ➜ Server ID
- `{server.name}` ➜ Server name
Expand Down Expand Up @@ -69,14 +69,14 @@ Welcome messages are sent when a member joins your server. They allow you to wel
::

::tab{ label="Via the panel" }
Please first go to the [DraftBot **panel**](/dashboard/first/welcome) ➜ Arrivals & Departures.
First, go to the [DraftBot **panel**](/dashboard/first/welcome) ➜ Arrivals & Departures.

You must then enable the system by clicking the module activation button. If you want to disable it, click the same button again.
Then, enable the system by clicking the module activation button. If you want to disable it, click the same button again.

![Enable the welcome system](../assets/arrivees-et-departs/dashboard-welcome-enable.png)

::hint{type="warning"}
Once finished, don't forget to save your changes with the "Save" button at the bottom of the page.
Once done, don't forget to save your changes with the "Save" button at the bottom of the page.
::

![Configuration menu](../assets/arrivees-et-departs/dashboard-welcome.png)
Expand All @@ -98,7 +98,7 @@ Goodbye messages are sent when a member leaves your server. They inform the comm
::tabs
::tab{ label="Via the /config command" }
First, go to the \</config> ➜ 👋
Arrivals & Departures ➜ "Goodbye Message".
Arrivals & departures ➜ "Goodbye message".

Here are the different buttons and their uses:
- "Enable the system" ➜ Allows you to enable or disable the system.
Expand All @@ -107,18 +107,18 @@ Goodbye messages are sent when a member leaves your server. They inform the comm
- "Custom message" ➜ Set the message that will be sent in the welcome message.

::collapse{ label="Variables" }
Variables are pieces of text that change depending on the person, the server, the channel, or even the time. Here are those available in DraftBot's goodbye messages.
Variables are pieces of text that change depending on the person, server, channel, or time. Here are the ones you can use in DraftBot's goodbye messages.

- `{user}` ➜ Mention the member
- `{user}` ➜ Member mention
- `{user.id}` ➜ Member ID
- `{user.username}` ➜ Member's username
- `{user.nickname}` ➜ Member's nickname or username
- `{user.tag}` ➜ Member's tag _(Username#0000)_
- `{user.username}` ➜ Member username
- `{user.nickname}` ➜ Member nickname or username
- `{user.tag}` ➜ Member tag _(Username#0000)_
- `{server}` ➜ Server name
- `{server.id}` ➜ Server ID
- `{server.name}` ➜ Server name
- `{server.membercount}` ➜ Number of members on the server
- `{channel}` ➜ Channel mentions
- `{channel}` ➜ Channel mention
- `{channel.id}` ➜ Channel ID
- `{channel.name}` ➜ Channel name
- `{date}` ➜ Current date (DD/MM/YYYY)
Expand All @@ -133,7 +133,7 @@ Goodbye messages are sent when a member leaves your server. They inform the comm
- "Background color" ➜ Allows you to change the background color of the goodbye message.

::hint{ type="info" }
You can choose between three colors as well as the default one (with the "None" button).
You can choose between three colors and the default one (with the "None" button).

If you want a custom color, you must subscribe to a [premium <:icon_premium_:1096140508625125417>](/premium) plan.

Expand All @@ -155,7 +155,7 @@ Goodbye messages are sent when a member leaves your server. They inform the comm
::

::tab{ label="From the panel" }
First, go to the [DraftBot **panel**](/dashboard/first/welcome) ➜ Arrivals & Departures.
First, go to the [DraftBot **panel**](/dashboard/first/welcome) ➜ Arrivals & departures.

You must first enable the system by clicking the module activation button. If you want to disable it, click the same button again.

Expand Down
62 changes: 62 additions & 0 deletions docs/en/2.modules/1.reglement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
title: 'Rules'
description: The rule validation system allows assigning a role to new members once they have read and accepted the server rules.
navigation.icon: 'twemoji:memo'
contributors: ['iibey', 'theorik', 'ls62', 'draftproducts']
updatedAt: '2023-12-15'
---

## Creating the Rules

To get started, you will need to run the command \</règlement créer>. **DraftBot** will then give you the option to **add the role** you want to assign to members, as well as **lock** the role so that members cannot remove it.

Once they have read the rules and clicked the `Accept the rules` button.

![Result of the /reglement create command](../assets/reglement/rules-create.png)

## Add rules

Now that the embed has been created, you will need to add rules to maintain good stability in your community.

To do this, you will use the \</reglement ajouter> command. DraftBot will ask you for: the rule message, the title, and the description of your rule.

![Preview of the /reglement add command](../assets/reglement/rules-add-1.png)

::hint{ type="warning" }
For the rule message, you need to retrieve the **ID** of the embed of the rule you created.
To learn how to retrieve an ID: [Click here!](/docs/autres/recuperer-un-identifiant#identifiant-dun-message)
::

![Result of adding a rule](../assets/reglement/rules-add-2.png)

::hint{ type="info" }
When a rule is added, **DraftBot** will offer two options: add another rule or postpone it.
::

::hint{ type="warning" }
The title is limited to **256** characters, while the description is limited to **1024** characters.
::

## Modify a rule

You can modify your rules at any time, whether to make a correction or to make them more aesthetic according to your preferences. You will need the \</reglement modifier> command.

The procedure is not very different from the \</reglement ajouter> command, except that a new field appears: `rule`.

This field allows you to select **the rule** you want to modify.

![Preview of the /reglement modify command](../assets/reglement/rules-modify.png)

![Result of modifying a rule](../assets/reglement/rules-modify-2.png)

::hint{ type="info" }
You can modify the rules from the panel in the [Messages](/dashboard/first/messages) category. The embed is titled **"Server Rules"**.

![Preview of the panel in the Messages category](../assets/reglement/panel_reglement.png)
::

## Remove a rule

If a rule doesn't suit you and you want to remove it, you can use the command \</reglement retirer>. You will just need to retrieve the **message ID** of the rule and select the **rule**.

![Preview of the /reglement remove command](../assets/reglement/rules-remove.png)
20 changes: 15 additions & 5 deletions docs/fr/2.modules/1.arrivees-et-departs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Arrivées & départs
description: Configurez des messages qui s'enverront lorsqu'un membre rejoint ou quitte votre serveur.
navigation.icon: 'twemoji:waving-hand'
contributors: ['bariboo', 'theorik', 'thecreatorn3ant', 'imroxxor']
contributors: ['bariboo', 'theorik', 'thecreatorn3ant', 'imroxxor', 'draftproducts']
updatedAt: '2025-05-26'
---

Expand All @@ -12,20 +12,30 @@ Les messages de bienvenue sont envoyés lorsqu'un membre rejoint votre serveur.

![Exemple de message de bienvenue](../assets/arrivees-et-departs/welcome.png)

HELLO

### Config

::tabs
::tab{ label="Via la commande /config" }
On fait des tests
::
::

### Configuration

::tabs
::tab{ label="Via la commande /config" }
Veuillez d'abord vous rendre dans la commande \</config> ➜ 👋
Veuillez vous rendre dans la commande \</config> ➜ 👋
Arrivées & départs ➜ "Message de bienvenue".

Voici les différents boutons ainsi que leurs utilités :
- "Activer le système" ➜ Permet d'activer ou désactiver le système.
- "Salon d'envoi" ➜ Définir le salon où le message de bienvenue sera envoyé.
- "Salon de départ" ➜ Définir le salon où le message de bienvenue sera envoyé.
- "Message personnalisé" ➜ Définir le message qui sera envoyé dans le message de bienvenue (maximum 1 200 caractères).

::collapse{ label="Variables" }
Les variables sont des bouts de texte qui évoluent suivant la personne, le serveur, le salon ou encore le temps. Voici celles utilisables dans les messages de bienvenue de DraftBot.
::collapse{ label="Variable" }
Une variable est un bout de texte qui évolue suivant la personne, le serveur, le salon ou encore le temps. Voici celles utilisables dans les messages de bienvenue de DraftBot.

- `{user}` ➜ Mention du membre
- `{user.id}` ➜ Identifiant du membre
Expand Down