mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +01:00
docs(VoiceChannel): deprecate editable (#6613)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user