diff --git a/packages/discord.js/src/structures/Guild.js b/packages/discord.js/src/structures/Guild.js index db210b666..d52674db9 100644 --- a/packages/discord.js/src/structures/Guild.js +++ b/packages/discord.js/src/structures/Guild.js @@ -595,7 +595,8 @@ class Guild extends AnonymousGuild { } /** - * The maximum bitrate available for this guild + * The maximum bitrate available for a voice channel in this guild + * * @type {number} * @readonly */ @@ -616,6 +617,16 @@ class Guild extends AnonymousGuild { } } + /** + * The maximum bitrate available for a stage channel in this guild + * + * @type {number} + * @readonly + */ + get maximumStageBitrate() { + return 64_000; + } + /** * Fetches a collection of integrations to this guild. * Resolves with a collection mapping integrations by their ids. diff --git a/packages/discord.js/typings/index.d.ts b/packages/discord.js/typings/index.d.ts index 035eff90e..7e1d6f35a 100644 --- a/packages/discord.js/typings/index.d.ts +++ b/packages/discord.js/typings/index.d.ts @@ -1690,6 +1690,7 @@ export class Guild extends AnonymousGuild { public widgetChannelId: Snowflake | null; public widgetEnabled: boolean | null; public get maximumBitrate(): number; + public get maximumStageBitrate(): number; public createTemplate(name: string, description?: string): Promise; public delete(): Promise; public discoverySplashURL(options?: ImageURLOptions): string | null;