From db815d4d9f3de456da3103e8ab8d020996e131c3 Mon Sep 17 00:00:00 2001 From: Schuyler Cebulskie Date: Sat, 1 Oct 2016 02:47:17 -0400 Subject: [PATCH] I'm gonna need more derps to fix. --- src/structures/GuildMember.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/structures/GuildMember.js b/src/structures/GuildMember.js index f1822e946..f0b4dc572 100644 --- a/src/structures/GuildMember.js +++ b/src/structures/GuildMember.js @@ -204,7 +204,7 @@ class GuildMember { if (this.user.id === this.client.user.id) return false; const clientMember = this.guild.member(this.client.user); if (!clientMember.hasPermission(Constants.PermissionFlags.KICK_MEMBERS)) return false; - return clientMember.highestRole.position > this.highestRole.positon; + return clientMember.highestRole.position > this.highestRole.position; } /** @@ -217,7 +217,7 @@ class GuildMember { if (this.user.id === this.client.user.id) return false; const clientMember = this.guild.member(this.client.user); if (!clientMember.hasPermission(Constants.PermissionFlags.BAN_MEMBERS)) return false; - return clientMember.highestRole.position > this.highestRole.positon; + return clientMember.highestRole.position > this.highestRole.position; } /**