mirror of
https://github.com/danbulant/discord.js
synced 2026-06-05 07:42:09 +00:00
refactor(VoiceChannel): use Permissions.FLAGS in speakable (#3780)
This commit is contained in:
parent
d43692b0f2
commit
562b5bfca7
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ class VoiceChannel extends GuildChannel {
|
||||||
* @readonly
|
* @readonly
|
||||||
*/
|
*/
|
||||||
get speakable() {
|
get speakable() {
|
||||||
return this.permissionsFor(this.client.user).has('SPEAK', false);
|
return this.permissionsFor(this.client.user).has(Permissions.FLAGS.SPEAK, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue