diff --git a/src/structures/GuildEmoji.js b/src/structures/GuildEmoji.js index 95d970e04..e8027ab1c 100644 --- a/src/structures/GuildEmoji.js +++ b/src/structures/GuildEmoji.js @@ -52,7 +52,7 @@ class GuildEmoji extends Emoji { */ get deletable() { return !this.managed && - this.channel.permissionsFor(this.client.user).has(Permissions.FLAGS.MANAGE_EMOJIS); + this.guild.me.hasPermission(Permissions.FLAGS.MANAGE_EMOJIS); } /** diff --git a/typings b/typings index 7c02f063f..69620aec3 160000 --- a/typings +++ b/typings @@ -1 +1 @@ -Subproject commit 7c02f063fdc81f1b2066d18a059d055d851884d6 +Subproject commit 69620aec32a6dd5878be2257335be1087e95c2da