Fixes being able to ban helpers, moderators and admins
This commit is contained in:
parent
2e77b6d563
commit
158f3087d6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue