From 562b5bfca78a9c50d05a5ec658cffda04ff88b5c Mon Sep 17 00:00:00 2001 From: Sugden <28943913+NotSugden@users.noreply.github.com> Date: Wed, 12 Feb 2020 21:42:43 +0000 Subject: [PATCH] refactor(VoiceChannel): use Permissions.FLAGS in speakable (#3780) --- src/structures/VoiceChannel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/VoiceChannel.js b/src/structures/VoiceChannel.js index 6b3850dfb..e8362878b 100644 --- a/src/structures/VoiceChannel.js +++ b/src/structures/VoiceChannel.js @@ -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); } /**