From d219ecd05c8f1f5517b511eea78d6cd3462b98ee Mon Sep 17 00:00:00 2001 From: Vicente <33096355+Vicente015@users.noreply.github.com> Date: Tue, 11 May 2021 21:23:58 +0100 Subject: [PATCH] docs(GuildChannelManager): add stage option (#5608) --- src/managers/GuildChannelManager.js | 2 +- typings/index.d.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/managers/GuildChannelManager.js b/src/managers/GuildChannelManager.js index 7448da8c6..b5405d912 100644 --- a/src/managers/GuildChannelManager.js +++ b/src/managers/GuildChannelManager.js @@ -63,7 +63,7 @@ class GuildChannelManager extends BaseManager { * @param {string} name The name of the new channel * @param {Object} [options] Options * @param {string} [options.type='text'] The type of the new channel, either `text`, `voice`, `category`, `news`, - * or `store` + * `store`, or `stage` * @param {string} [options.topic] The topic for the new channel * @param {boolean} [options.nsfw] Whether the new channel is nsfw * @param {number} [options.bitrate] Bitrate of the new channel in bits (only voice) diff --git a/typings/index.d.ts b/typings/index.d.ts index 619e39d69..f3e2cd3c4 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -2102,10 +2102,11 @@ declare module 'discord.js' { public create(name: string, options?: GuildCreateChannelOptions & { type?: 'text' }): Promise; public create(name: string, options: GuildCreateChannelOptions & { type: 'news' }): Promise; public create(name: string, options: GuildCreateChannelOptions & { type: 'store' }): Promise; + public create(name: string, options: GuildCreateChannelOptions & { type: 'stage' }): Promise; public create( name: string, options: GuildCreateChannelOptions, - ): Promise; + ): Promise; } export class GuildEmojiManager extends BaseGuildEmojiManager {