From 3e39861534014eb6e17b92737a61255b27d17b17 Mon Sep 17 00:00:00 2001 From: Schuyler Cebulskie Date: Sat, 10 Sep 2016 14:22:09 -0400 Subject: [PATCH] Fix #677 --- src/structures/GuildMember.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/structures/GuildMember.js b/src/structures/GuildMember.js index 17b814afb..a33e667e7 100644 --- a/src/structures/GuildMember.js +++ b/src/structures/GuildMember.js @@ -174,6 +174,7 @@ class GuildMember { * @returns {boolean} */ hasPermission(permission, explicit = false) { + if (this.guild.owner.id === this.user.id) return true; return this.roles.some(r => r.hasPermission(permission, explicit)); }