More deprecated stuff

This commit is contained in:
Amish Shah
2017-05-01 11:28:48 +01:00
parent 8bab9fb122
commit db45d99d0c
4 changed files with 7 additions and 7 deletions

View File

@@ -319,7 +319,7 @@ class GuildChannel extends Channel {
*/
get deletable() {
return this.id !== this.guild.id &&
this.permissionsFor(this.client.user).hasPermission(Permissions.FLAGS.MANAGE_CHANNELS);
this.permissionsFor(this.client.user).has(Permissions.FLAGS.MANAGE_CHANNELS);
}
/**