1
0
mirror of https://gitlab.com/Deukhoofd/DeukBot4.git synced 2025-09-02 23:57:19 +00:00

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

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