fix: incorrect command option description

This commit is contained in:
oSumAtrIX 2022-08-21 22:17:12 +02:00
parent 8045e180e9
commit 25efe87776
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -54,7 +54,7 @@ pub async fn mute(
#[description = "Hours"] hours: Option<i64>,
#[description = "Days"] days: Option<i64>,
#[description = "Months"] months: Option<i64>,
#[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(())
}
}