From 5d2fe2772f3900228fcf3fe91ba07981360142d9 Mon Sep 17 00:00:00 2001 From: Luke Date: Mon, 13 Jan 2025 15:50:35 +0000 Subject: [PATCH 1/2] Create config-gamification.md --- commands/config-gamification.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 commands/config-gamification.md diff --git a/commands/config-gamification.md b/commands/config-gamification.md new file mode 100644 index 0000000..ab489e5 --- /dev/null +++ b/commands/config-gamification.md @@ -0,0 +1,31 @@ +# `/config gamification ` +Gamification refers to Guild XP & Leaderboards. + +## Arguments +### `messages` +*boolean* +- Whether to enable Gamification in the server. + +### `channel` +*text channel* +- The text channel to send "level-up" messages to. If unspecified, it will use the same channel as the user who leveled up. + +### `message` +*string* +- A custom message to display when a user levels up. Supports tokens, emojis & markdown. +- Supported tokens are: + - ***%level%*** - the new level of the user. + - ***%username%*** - the user's name. + - ***%message%*** - the message which triggered the level-up. + - ***%date%*** - the UTC date on which the level-up occurred. + - ***%time%*** - the UTC time at which the level-up occurred. +- Default: + > You've leveled up to **Level %level%**! + + Or, your Guild's equivalent locale translation. + +### `multiplier` +*number* +- Specifies a ratio of XP required per level. +- Lower values mean more XP is required to level-up. +- Default: `0.42` From 5e75a69ad9385af3ba4821fcfa3b887791509453 Mon Sep 17 00:00:00 2001 From: Luke Date: Mon, 13 Jan 2025 16:20:11 +0000 Subject: [PATCH 2/2] Update SUMMARY.md --- SUMMARY.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SUMMARY.md b/SUMMARY.md index c49c8b6..b0f6d08 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -21,6 +21,11 @@ * [Configure Bastion](configure/configure-bastion.md) * [Publish Commands](configure/publish-commands.md) +## 📚 Commands Reference + +* [/config]() + * [gamification](commands/config-gamification.md) + ## ▶️ Run * [Run on Linux](run/run-on-linux.md)