Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
8eff26c
chore: test things
DraftProducts Dec 28, 2025
f235d32
Merge branch 'test/multi-langs' into chore/new-test
DraftProducts Dec 28, 2025
f7459cd
chore: translate
DraftProducts Jan 8, 2026
1fb88a9
Modification du fichier docs/fr/2.modules/1.arrivees-et-departs.md
DraftProducts Jan 8, 2026
897f31c
docs: traduction anglais de 1.arrivees-et-departs.md
DraftProducts Jan 8, 2026
4f7074b
Modification du fichier docs/fr/2.modules/1.arrivees-et-departs.md
DraftProducts Jan 8, 2026
2b48e92
docs: traduction anglais de 1.arrivees-et-departs.md
DraftProducts Jan 8, 2026
8ae53c1
Modification du fichier docs/fr/2.modules/1.arrivees-et-departs.md
DraftProducts Jan 11, 2026
d97a86d
docs: traduction anglais de 1.arrivees-et-departs.md
DraftProducts Jan 11, 2026
9798c48
docs: traduction anglais de 1.reglement.md
DraftProducts Jan 11, 2026
1a3f784
docs: traduction anglais de 1.arrivees-et-departs.md
DraftProducts Jan 11, 2026
b649981
Modification du fichier docs/fr/2.modules/1.arrivees-et-departs.md
DraftProducts Feb 8, 2026
8a14217
Modification du fichier docs/fr/2.modules/1.arrivees-et-departs.md
DraftProducts Feb 8, 2026
0275b09
docs: traduction anglais de 1.arrivees-et-departs.md
DraftProducts Feb 8, 2026
7c854da
Modification du fichier docs/fr/2.modules/1.arrivees-et-departs.md
DraftProducts Feb 8, 2026
68dc2d8
Modification du fichier docs/fr/2.modules/1.arrivees-et-departs.md
DraftProducts Feb 9, 2026
ef1ac3a
Modification du fichier docs/fr/2.modules/1.arrivees-et-departs.md
DraftProducts Feb 9, 2026
6b62948
docs: traduction anglais de 1.arrivees-et-departs.md
DraftProducts Feb 9, 2026
02290e8
Modification du fichier docs/fr/2.modules/1.arrivees-et-departs.md
DraftProducts Feb 9, 2026
699054f
Modification du fichier docs/fr/2.modules/1.arrivees-et-departs.md
DraftProducts Feb 9, 2026
613857a
Modification du fichier docs/fr/2.modules/1.arrivees-et-departs.md
DraftProducts Feb 9, 2026
00f626a
docs: traduction anglais de 1.arrivees-et-departs.md
DraftProducts Feb 9, 2026
0d95098
Modification du fichier docs/fr/2.modules/1.arrivees-et-departs.md
DraftProducts Feb 9, 2026
bbd8ebf
docs: traduction anglais de 1.arrivees-et-departs.md
DraftProducts Feb 9, 2026
ff8858e
Modification du fichier docs/fr/2.modules/1.arrivees-et-departs.md
DraftProducts Feb 9, 2026
05df14c
docs: traduction anglais de 1.arrivees-et-departs.md
DraftProducts Feb 9, 2026
ea814ba
Modification du fichier docs/fr/2.modules/1.arrivees-et-departs.md
DraftProducts Feb 9, 2026
13569fc
docs: traduction anglais de 1.arrivees-et-departs.md
DraftProducts Feb 9, 2026
cfa7e66
docs: traduction anglais de 1.arrivees-et-departs.md
DraftProducts Feb 9, 2026
091c9a6
Modification du fichier docs/fr/2.modules/1.arrivees-et-departs.md
DraftProducts Feb 9, 2026
6822672
Modification du fichier docs/fr/2.modules/1.arrivees-et-departs.md
DraftProducts Feb 9, 2026
17aea48
docs: traduction anglais de 1.arrivees-et-departs.md
DraftProducts Feb 9, 2026
4588edf
docs: traduction anglais de 1.arrivees-et-departs.md
DraftProducts Feb 9, 2026
e3811cd
Modification du fichier docs/fr/2.modules/1.arrivees-et-departs.md
DraftProducts Feb 9, 2026
663cd1f
docs: traduction anglais de 1.arrivees-et-departs.md
DraftProducts Feb 9, 2026
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
73 changes: 2 additions & 71 deletions docs/en/2.modules/1.arrivees-et-departs.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
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'
Expand All @@ -14,75 +14,6 @@ Welcome messages are sent when a member joins your server. They allow you to wel

### Configuration

::tabs
::tab{ label="Via the /config command" }
Please first 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.
- "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.

- `{user}` ➜ Member mention
- `{user.id}` ➜ Member ID
- `{user.username}` ➜ Member username
- `{user.nickname}` ➜ Member nickname or username
- `{server}` ➜ Server name
- `{server.id}` ➜ Server ID
- `{server.name}` ➜ Server name
- `{server.membercount}` ➜ Number of members on the server
- `{channel}` ➜ Channel mention
- `{channel.id}` ➜ Channel ID
- `{channel.name}` ➜ Channel name
- `{date}` ➜ Current date (DD/MM/YYYY)
- `{time}` ➜ Current time (HH:MM)
- `{timestamp}` ➜ Current timestamp in seconds
::

- "Mention the member" ➜ Once this option is enabled, the member will be mentioned in the welcome message.
- "Background color" ➜ Allows you to change the background color of the welcome message.

::hint{ type="info" }
You can choose between three colors and the default one, which will make the image transparent (with the "None" button).

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

![Background color selection menu](../assets/arrivees-et-departs/configuration-welcome-color.png)
::

- "Color" ➜ Set the color of the sidebar of your welcome message. (<:icon_premium:1096140508625125417>)
- "Image" ➜ Allows you to add a background image to your welcome message. (<:icon_premium:1096140508625125417>)

::hint{ type="info" }
Features accompanied by the <:icon_premium:1096140508625125417> symbol are reserved for [premium](/premium) <:icon_premium_:1096140508625125417> servers.
::

::hint{ type="info" }
The optimal image dimensions are 1,000 x 300 pixels.
::

![Welcome system configuration menu](../assets/arrivees-et-departs/configuration-welcome.png)
::

::tab{ label="Via the panel" }
Please 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.

![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.
::

![Configuration menu](../assets/arrivees-et-departs/dashboard-welcome.png)
::
::

::hint{ type="warning" }
Welcome messages are only sent once the **welcome process** is complete and the **server rules** set via Discord have been accepted.
::
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: 13 additions & 7 deletions docs/fr/2.modules/1.arrivees-et-departs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,36 @@
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'
---

zefzefzef

## Messages de bienvenue

Les messages de bienvenue sont envoyés lorsqu'un membre rejoint votre serveur. Ils permettent de souhaiter la bienvenue à un nouvel arrivant et de lui donner des informations sur votre serveur.
ici aussi

Les messages de bienvenue sont envoyés lorsqu'un membre rejoint votre serveur. Ils permettent de souhaiter la bienvenue à un nouveau arrivant et de lui donner des informations sur votre serveur.

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

### Configuration

On fait des tests

::tabs
::tab{ label="Via la commande /config" }
Veuillez d'abord vous rendre dans la commande \</config> ➜ 👋
Arrivées & départs ➜ "Message de bienvenue".
Veuillez vous rendre dans la commande \</config> ➜ 👋
Arrivées & départs ➜ "TEST 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ù la saucisse 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