refactor(VoiceChannel): use Permissions.FLAGS in speakable (#3780)

This commit is contained in:
Sugden
2020-02-12 21:42:43 +00:00
committed by GitHub
parent d43692b0f2
commit 562b5bfca7

View File

@@ -88,7 +88,7 @@ class VoiceChannel extends GuildChannel {
* @readonly
*/
get speakable() {
return this.permissionsFor(this.client.user).has('SPEAK', false);
return this.permissionsFor(this.client.user).has(Permissions.FLAGS.SPEAK, false);
}
/**