Fixes being able to ban helpers, moderators and admins

This commit is contained in:
Deukhoofd 2018-12-06 21:53:40 +01:00
parent 2e77b6d563
commit 158f3087d6
No known key found for this signature in database
GPG Key ID: B4C087AC81641654
1 changed files with 1 additions and 1 deletions

View File

@ -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