revert: accidental parameter type change

This commit is contained in:
Ushie 2023-04-15 23:55:51 +03:00
parent 323611568d
commit 8cc873dcd5
No known key found for this signature in database
GPG Key ID: 0EF73F1CA38B2D5F

View File

@ -201,7 +201,7 @@ pub async fn unmute(
#[poise::command(slash_command)]
pub async fn mute(
ctx: Context<'_>,
#[description = "The member to mute"] member: User,
#[description = "The member to mute"] member: UserId,
#[description = "The duration of the mute"] duration: String,
#[description = "The reason of the mute"] reason: String,
) -> Result<(), Error> {