From 25efe87776ddb4dc6b726778996d68c8bacc929b Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sun, 21 Aug 2022 22:17:12 +0200 Subject: [PATCH] fix: incorrect command option description --- src/commands/moderation.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/commands/moderation.rs b/src/commands/moderation.rs index 468347e..6fb6ae7 100644 --- a/src/commands/moderation.rs +++ b/src/commands/moderation.rs @@ -54,7 +54,7 @@ pub async fn mute( #[description = "Hours"] hours: Option, #[description = "Days"] days: Option, #[description = "Months"] months: Option, - #[description = "Months"] reason: String, + #[description = "The reason of the mute"] reason: String, ) -> Result<(), Error> { let now = Utc::now(); let mut mute_duration = Duration::zero(); @@ -286,6 +286,4 @@ pub async fn purge( }) .await?; Ok(()) -} - - +} \ No newline at end of file