Skip to content

Commit

Permalink
Revert "fix(GuildMember): manageable - let owner override (discordjs#…
Browse files Browse the repository at this point in the history
…3765)"

This reverts commit b74e9d9.
  • Loading branch information
samsamson33 committed Feb 27, 2020
1 parent d6e2519 commit 9fe42f3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/structures/GuildMember.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ class GuildMember extends Base {
get manageable() {
if (this.user.id === this.guild.ownerID) return false;
if (this.user.id === this.client.user.id) return false;
if (this.client.user.id === this.guild.ownerID) return true;
if (!this.guild.me) throw new Error('GUILD_UNCACHED_ME');
return this.guild.me.roles.highest.comparePositionTo(this.roles.highest) > 0;
}
Expand Down

0 comments on commit 9fe42f3

Please sign in to comment.