mirror of
https://github.com/revanced/revanced-discord-bot.git
synced 2025-05-01 15:04:25 +02:00
fix: incorrect command option description
This commit is contained in:
parent
8045e180e9
commit
25efe87776
@ -54,7 +54,7 @@ pub async fn mute(
|
|||||||
#[description = "Hours"] hours: Option<i64>,
|
#[description = "Hours"] hours: Option<i64>,
|
||||||
#[description = "Days"] days: Option<i64>,
|
#[description = "Days"] days: Option<i64>,
|
||||||
#[description = "Months"] months: Option<i64>,
|
#[description = "Months"] months: Option<i64>,
|
||||||
#[description = "Months"] reason: String,
|
#[description = "The reason of the mute"] reason: String,
|
||||||
) -> Result<(), Error> {
|
) -> Result<(), Error> {
|
||||||
let now = Utc::now();
|
let now = Utc::now();
|
||||||
let mut mute_duration = Duration::zero();
|
let mut mute_duration = Duration::zero();
|
||||||
@ -286,6 +286,4 @@ pub async fn purge(
|
|||||||
})
|
})
|
||||||
.await?;
|
.await?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user