docs(VoiceChannel): deprecate editable (#6613)

This commit is contained in:
tig
2021-09-15 07:26:10 +09:00
committed by GitHub
parent 75d85f7838
commit 88e2622dde
2 changed files with 2 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ class VoiceChannel extends BaseGuildVoiceChannel {
* Whether the channel is editable by the client user
* @type {boolean}
* @readonly
* @deprecated Use {@link VoiceChannel#manageable} instead
*/
get editable() {
return this.manageable && this.permissionsFor(this.client.user).has(Permissions.FLAGS.CONNECT, false);