diff --git a/src/structures/VoiceChannel.js b/src/structures/VoiceChannel.js index 6904b7e97..9076278bc 100644 --- a/src/structures/VoiceChannel.js +++ b/src/structures/VoiceChannel.js @@ -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); diff --git a/typings/index.d.ts b/typings/index.d.ts index 3d4a6128d..508991550 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -2036,6 +2036,7 @@ export class Formatters extends null { } export class VoiceChannel extends BaseGuildVoiceChannel { + /** @deprecated Use manageable instead */ public readonly editable: boolean; public readonly speakable: boolean; public type: 'GUILD_VOICE';