From 8cc873dcd5c431bdf5473d2215d62474cf48c8b2 Mon Sep 17 00:00:00 2001 From: Ushie Date: Sat, 15 Apr 2023 23:55:51 +0300 Subject: [PATCH] revert: accidental parameter type change --- src/commands/moderation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/moderation.rs b/src/commands/moderation.rs index d0a4916..2a8ce77 100644 --- a/src/commands/moderation.rs +++ b/src/commands/moderation.rs @@ -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> {