From 8eff26c251c98de8c40c0c9d31748248bc585672 Mon Sep 17 00:00:00 2001 From: DraftMan Date: Sun, 28 Dec 2025 02:05:06 +0100 Subject: [PATCH 01/10] chore: test things --- docs/fr/2.modules/1.arrivees-et-departs.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/fr/2.modules/1.arrivees-et-departs.md b/docs/fr/2.modules/1.arrivees-et-departs.md index 01a519393..463617e66 100644 --- a/docs/fr/2.modules/1.arrivees-et-departs.md +++ b/docs/fr/2.modules/1.arrivees-et-departs.md @@ -16,16 +16,16 @@ Les messages de bienvenue sont envoyés lorsqu'un membre rejoint votre serveur. ::tabs ::tab{ label="Via la commande /config" } - Veuillez d'abord vous rendre dans la commande \ ➜ 👋 + Veuillez vous rendre dans la commande \ ➜ 👋 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 From f7459cd73bf4a3c18c693ea18593ce606f43d787 Mon Sep 17 00:00:00 2001 From: DraftMan Date: Thu, 8 Jan 2026 15:25:02 +0100 Subject: [PATCH 02/10] chore: translate --- docs/en/2.modules/1.arrivees-et-departs.md | 44 +++++++++++----------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/docs/en/2.modules/1.arrivees-et-departs.md b/docs/en/2.modules/1.arrivees-et-departs.md index 2b023e82b..dfb1a077f 100644 --- a/docs/en/2.modules/1.arrivees-et-departs.md +++ b/docs/en/2.modules/1.arrivees-et-departs.md @@ -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' @@ -8,7 +8,7 @@ updatedAt: '2025-05-26' ## 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) @@ -16,21 +16,21 @@ Welcome messages are sent when a member joins your server. They allow you to wel ::tabs ::tab{ label="Via the /config command" } - Please first go to the \ ➜ 👋 - Arrivals & Departures ➜ "Welcome Message". + Please go to the \ ➜ 👋 + 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, the server, the channel, or even the 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 @@ -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, please 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. + 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) @@ -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 \ ➜ 👋 - 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. @@ -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, the server, the channel, or even the 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) @@ -135,7 +135,7 @@ Goodbye messages are sent when a member leaves your server. They inform the comm ::hint{ type="info" } You can choose between three colors as well as the default one (with the "None" button). - If you want a custom color, you must subscribe to a [premium <:icon_premium_:1096140508625125417>](/premium) plan. + If you want a custom color, you must subscribe to a [premium <:icon_premium_:1096140508625125417>](/premium) subscription. ![Background color configuration menu](../assets/arrivees-et-departs/configuration-goodbye-color.png) :: @@ -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. From 1fb88a926eb56eecbf236b0a32b19a0ed7207e62 Mon Sep 17 00:00:00 2001 From: DraftMan Date: Thu, 8 Jan 2026 16:25:32 +0100 Subject: [PATCH 03/10] Modification du fichier docs/fr/2.modules/1.arrivees-et-departs.md --- docs/fr/2.modules/1.arrivees-et-departs.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/fr/2.modules/1.arrivees-et-departs.md b/docs/fr/2.modules/1.arrivees-et-departs.md index 463617e66..fcd23780f 100644 --- a/docs/fr/2.modules/1.arrivees-et-departs.md +++ b/docs/fr/2.modules/1.arrivees-et-departs.md @@ -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' --- @@ -10,6 +10,8 @@ updatedAt: '2025-05-26' 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. +je fais un test + ![Exemple de message de bienvenue](../assets/arrivees-et-departs/welcome.png) ### Configuration From 897f31c1ba8b239ac0802d11dd942087997b9931 Mon Sep 17 00:00:00 2001 From: DraftMan Date: Thu, 8 Jan 2026 21:08:31 +0100 Subject: [PATCH 04/10] docs: traduction anglais de 1.arrivees-et-departs.md --- docs/en/2.modules/1.arrivees-et-departs.md | 98 +--------------------- 1 file changed, 3 insertions(+), 95 deletions(-) diff --git a/docs/en/2.modules/1.arrivees-et-departs.md b/docs/en/2.modules/1.arrivees-et-departs.md index dfb1a077f..4f2985dc5 100644 --- a/docs/en/2.modules/1.arrivees-et-departs.md +++ b/docs/en/2.modules/1.arrivees-et-departs.md @@ -6,13 +6,7 @@ contributors: ['bariboo', 'theorik', 'thecreatorn3ant', 'imroxxor', 'draftproduc updatedAt: '2025-05-26' --- -## Welcome Messages - -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 +I'm testing ::tabs ::tab{ label="Via the /config command" } @@ -25,7 +19,7 @@ Welcome messages are sent when a member joins your server. They allow you to gre - "Custom message" ➜ Set the message that will be sent in the welcome message (maximum 1,200 characters). ::collapse{ label="Variable" } - A variable is a piece of text that changes depending on the person, the server, the channel, or even the time. Here are the ones you can use in DraftBot's welcome messages. + A variable is a piece of text that changes depending on the person, server, channel, or time. Here are those available in DraftBot's welcome messages. - `{user}` ➜ Mention the member - `{user.id}` ➜ Member ID @@ -76,95 +70,9 @@ Welcome messages are sent when a member joins your server. They allow you to gre ![Enable the welcome system](../assets/arrivees-et-departs/dashboard-welcome-enable.png) ::hint{type="warning"} - Once done, don't forget to save your changes with the "Save" button at the bottom of the page. + 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. -:: - -## Goodbye messages - -Goodbye messages are sent when a member leaves your server. They inform the community that a member has left the server and wish them well in their future endeavors. - -![Example of a goodbye message](../assets/arrivees-et-departs/goodbye.png) - -### Configuration - -::tabs - ::tab{ label="Via the /config command" } - First, go to the \ ➜ 👋 - Arrivals & departures ➜ "Goodbye 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 goodbye message will be sent. - - - "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 the ones you can use in DraftBot's goodbye messages. - - - `{user}` ➜ Member mention - - `{user.id}` ➜ Member ID - - `{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 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 - :: - - ::hint{ type="warning" } - Your message must be a maximum of 1,200 characters. - :: - - - "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). - - If you want a custom color, you must subscribe to a [premium <:icon_premium_:1096140508625125417>](/premium) subscription. - - ![Background color configuration menu](../assets/arrivees-et-departs/configuration-goodbye-color.png) - :: - - - "Color" ➜ Set the color of the sidebar of your goodbye message. (<:icon_premium:1096140508625125417>) - - "Image" ➜ Allows you to add a background image to your goodbye 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. - :: - - ![Goodbye system configuration menu](../assets/arrivees-et-departs/configuration-goodbye.png) - :: - - ::tab{ label="From the panel" } - 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. - - ![Enable goodbye messages system](../assets/arrivees-et-departs/dashboard-goodbye-enable.png) - - ::hint{type="warning"} - 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-goodbye-configuration.png) - :: :: \ No newline at end of file From 4f7074bd632249d9624a347e02755b274b596ef1 Mon Sep 17 00:00:00 2001 From: DraftMan Date: Thu, 8 Jan 2026 22:58:23 +0100 Subject: [PATCH 05/10] Modification du fichier docs/fr/2.modules/1.arrivees-et-departs.md --- docs/fr/2.modules/1.arrivees-et-departs.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/fr/2.modules/1.arrivees-et-departs.md b/docs/fr/2.modules/1.arrivees-et-departs.md index fcd23780f..d6099bad9 100644 --- a/docs/fr/2.modules/1.arrivees-et-departs.md +++ b/docs/fr/2.modules/1.arrivees-et-departs.md @@ -10,8 +10,6 @@ updatedAt: '2025-05-26' 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. -je fais un test - ![Exemple de message de bienvenue](../assets/arrivees-et-departs/welcome.png) ### Configuration From 2b48e929bc87c03b33830c4479f3076089b9a3cf Mon Sep 17 00:00:00 2001 From: DraftMan Date: Thu, 8 Jan 2026 23:00:28 +0100 Subject: [PATCH 06/10] docs: traduction anglais de 1.arrivees-et-departs.md --- docs/en/2.modules/1.arrivees-et-departs.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/en/2.modules/1.arrivees-et-departs.md b/docs/en/2.modules/1.arrivees-et-departs.md index 4f2985dc5..9d4ea3c05 100644 --- a/docs/en/2.modules/1.arrivees-et-departs.md +++ b/docs/en/2.modules/1.arrivees-et-departs.md @@ -6,8 +6,6 @@ contributors: ['bariboo', 'theorik', 'thecreatorn3ant', 'imroxxor', 'draftproduc updatedAt: '2025-05-26' --- -I'm testing - ::tabs ::tab{ label="Via the /config command" } Please go to the \ ➜ 👋 From 8ae53c1805806d47d1a87f28a37a3dd57585d4ef Mon Sep 17 00:00:00 2001 From: DraftMan Date: Sun, 11 Jan 2026 20:47:41 +0100 Subject: [PATCH 07/10] Modification du fichier docs/fr/2.modules/1.arrivees-et-departs.md --- docs/fr/2.modules/1.arrivees-et-departs.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/fr/2.modules/1.arrivees-et-departs.md b/docs/fr/2.modules/1.arrivees-et-departs.md index d6099bad9..f18955dad 100644 --- a/docs/fr/2.modules/1.arrivees-et-departs.md +++ b/docs/fr/2.modules/1.arrivees-et-departs.md @@ -12,6 +12,16 @@ 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 From d97a86d739a5f982625a7a79a1f3247c67888f1c Mon Sep 17 00:00:00 2001 From: DraftMan Date: Sun, 11 Jan 2026 20:50:11 +0100 Subject: [PATCH 08/10] docs: traduction anglais de 1.arrivees-et-departs.md --- docs/en/2.modules/1.arrivees-et-departs.md | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/docs/en/2.modules/1.arrivees-et-departs.md b/docs/en/2.modules/1.arrivees-et-departs.md index 9d4ea3c05..19b396d22 100644 --- a/docs/en/2.modules/1.arrivees-et-departs.md +++ b/docs/en/2.modules/1.arrivees-et-departs.md @@ -6,10 +6,20 @@ contributors: ['bariboo', 'theorik', 'thecreatorn3ant', 'imroxxor', 'draftproduc updatedAt: '2025-05-26' --- +HELLO + +### Config + +::tabs + ::tab{ label="Via the /config command" } + We perform tests + :: +:: + ::tabs ::tab{ label="Via the /config command" } Please go to the \ ➜ 👋 - Arrivals & departures ➜ "Welcome message". + Arrivals & Departures ➜ "Welcome Message". Here are the different buttons and their uses: - "Enable the system" ➜ Allows you to enable or disable the system. @@ -17,7 +27,7 @@ updatedAt: '2025-05-26' - "Custom message" ➜ Set the message that will be sent in the welcome message (maximum 1,200 characters). ::collapse{ label="Variable" } - A variable is a piece of text that changes depending on the person, server, channel, or time. Here are those available in DraftBot's welcome messages. + A variable is a piece of text that changes depending on the person, the server, the channel, or the time. Here are the ones you can use in DraftBot's welcome messages. - `{user}` ➜ Mention the member - `{user.id}` ➜ Member ID @@ -61,14 +71,14 @@ updatedAt: '2025-05-26' :: ::tab{ label="Via the panel" } - First, please go to the [DraftBot **panel**](/dashboard/first/welcome) ➜ Arrivals & departures. + First, please 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. + 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) From 9798c4882c8a40d86d80b6c51f8f9b409acfc3f4 Mon Sep 17 00:00:00 2001 From: DraftMan Date: Sun, 11 Jan 2026 21:06:34 +0100 Subject: [PATCH 09/10] docs: traduction anglais de 1.reglement.md --- docs/en/2.modules/1.reglement.md | 62 ++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 docs/en/2.modules/1.reglement.md diff --git a/docs/en/2.modules/1.reglement.md b/docs/en/2.modules/1.reglement.md new file mode 100644 index 000000000..223ef852d --- /dev/null +++ b/docs/en/2.modules/1.reglement.md @@ -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 \. **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 \ 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 \ command. + +The procedure is not very different from the \ 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 \. 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) \ No newline at end of file From 1a3f784decef775a6f4c7f93142e0a0ab74a27e8 Mon Sep 17 00:00:00 2001 From: DraftMan Date: Sun, 11 Jan 2026 21:23:17 +0100 Subject: [PATCH 10/10] docs: traduction anglais de 1.arrivees-et-departs.md --- docs/en/2.modules/1.arrivees-et-departs.md | 104 +++++++++++++++++++-- 1 file changed, 94 insertions(+), 10 deletions(-) diff --git a/docs/en/2.modules/1.arrivees-et-departs.md b/docs/en/2.modules/1.arrivees-et-departs.md index 19b396d22..c4a5d8cc2 100644 --- a/docs/en/2.modules/1.arrivees-et-departs.md +++ b/docs/en/2.modules/1.arrivees-et-departs.md @@ -6,15 +6,13 @@ contributors: ['bariboo', 'theorik', 'thecreatorn3ant', 'imroxxor', 'draftproduc updatedAt: '2025-05-26' --- -HELLO +## Welcome messages -### Config +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. -::tabs - ::tab{ label="Via the /config command" } - We perform tests - :: -:: +![Welcome message example](../assets/arrivees-et-departs/welcome.png) + +### Configuration ::tabs ::tab{ label="Via the /config command" } @@ -27,7 +25,7 @@ HELLO - "Custom message" ➜ Set the message that will be sent in the welcome message (maximum 1,200 characters). ::collapse{ label="Variable" } - A variable is a piece of text that changes depending on the person, the server, the channel, or the time. Here are the ones you can use in DraftBot's welcome messages. + 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}` ➜ Mention the member - `{user.id}` ➜ Member ID @@ -71,9 +69,9 @@ HELLO :: ::tab{ label="Via the panel" } - First, please 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) @@ -83,4 +81,90 @@ HELLO ![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. +:: + +## Goodbye messages + +Goodbye messages are sent when a member leaves your server. They inform the community that a member has left the server and wish them well in their future endeavors. + +![Example of a goodbye message](../assets/arrivees-et-departs/goodbye.png) + +### Configuration + +::tabs + ::tab{ label="Via the /config command" } + First, go to the \ ➜ 👋 + Arrivals & departures ➜ "Goodbye 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 goodbye message will be sent. + + - "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, server, channel, or time. Here are the ones you can use in DraftBot's goodbye messages. + + - `{user}` ➜ Member mention + - `{user.id}` ➜ Member ID + - `{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 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 + :: + + ::hint{ type="warning" } + Your message must be a maximum of 1,200 characters. + :: + + - "Background color" ➜ Allows you to change the background color of the goodbye message. + + ::hint{ type="info" } + 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. + + ![Background color configuration menu](../assets/arrivees-et-departs/configuration-goodbye-color.png) + :: + + - "Color" ➜ Set the color of the sidebar of your goodbye message. (<:icon_premium:1096140508625125417>) + - "Image" ➜ Allows you to add a background image to your goodbye 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. + :: + + ![Goodbye system configuration menu](../assets/arrivees-et-departs/configuration-goodbye.png) + :: + + ::tab{ label="From the panel" } + 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. + + ![Enable goodbye messages system](../assets/arrivees-et-departs/dashboard-goodbye-enable.png) + + ::hint{type="warning"} + 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-goodbye-configuration.png) + :: :: \ No newline at end of file