From 6ba2cf22155d1ed5d322c00d2277e68f9a50392c Mon Sep 17 00:00:00 2001 From: NoComment Date: Wed, 10 Apr 2024 13:21:44 +0100 Subject: [PATCH] Fix typo in command option description --- docs/commands.md | 2 +- .../lilybot/extensions/moderation/ModerationCommands.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/commands.md b/docs/commands.md index 1b45b1b4..24924bab 100644 --- a/docs/commands.md +++ b/docs/commands.md @@ -345,7 +345,7 @@ None * `user` - Person to ban - User * `delete-message-days` - The number of days worth of messages to delete - Int * `reason` - The reason for the ban - Defaulting String - * `soft-ban` - Weather to soft-ban this user (unban them one messages are deleted) - Defaulting Boolean + * `soft-ban` - Weather to soft-ban this user (unban them once messages are deleted) - Defaulting Boolean * `dm` - Whether to send a direct message to the user about the ban - Defaulting Boolean * `image` - An image you'd like to provide as extra context for the action - Optional Attachment diff --git a/src/main/kotlin/org/hyacinthbots/lilybot/extensions/moderation/ModerationCommands.kt b/src/main/kotlin/org/hyacinthbots/lilybot/extensions/moderation/ModerationCommands.kt index d11c8a7f..2a4235c1 100644 --- a/src/main/kotlin/org/hyacinthbots/lilybot/extensions/moderation/ModerationCommands.kt +++ b/src/main/kotlin/org/hyacinthbots/lilybot/extensions/moderation/ModerationCommands.kt @@ -1150,7 +1150,7 @@ class ModerationCommands : Extension() { /** Weather to softban this user or not. */ val softBan by defaultingBoolean { name = "soft-ban" - description = "Weather to soft-ban this user (unban them one messages are deleted)" + description = "Weather to soft-ban this user (unban them once messages are deleted)" defaultValue = false }