Skip to content

Commit

Permalink
fix: incorrect command option description
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Aug 21, 2022
1 parent 8045e18 commit 25efe87
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/commands/moderation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -286,6 +286,4 @@ pub async fn purge(
})
.await?;
Ok(())
}


}

0 comments on commit 25efe87

Please sign in to comment.