diff --git a/DeukBot4/MessageHandlers/CommandHandler/Commands/ModeratorCommands.cs b/DeukBot4/MessageHandlers/CommandHandler/Commands/ModeratorCommands.cs index c884559..1c98ec3 100644 --- a/DeukBot4/MessageHandlers/CommandHandler/Commands/ModeratorCommands.cs +++ b/DeukBot4/MessageHandlers/CommandHandler/Commands/ModeratorCommands.cs @@ -72,7 +72,7 @@ namespace DeukBot4.MessageHandlers.CommandHandler return; // get the id of the user, this parses the string to an id - var user = await request.Parameters[0].AsDiscordUser(); + var user = await request.Parameters[0].AsDiscordGuildUser(channel.Guild); if (user != null) { // get the permissions of the user we want to kick