From 633fdd8f28b3e0d0bb1f66053e6a0982376bca98 Mon Sep 17 00:00:00 2001 From: IllagerCaptain <76600137+IllagerCaptain@users.noreply.github.com> Date: Tue, 2 Dec 2025 17:26:15 -0600 Subject: [PATCH] feat(Guild): Add `maximumStageBitrate` (#11313) * Add `maximumStageBitrate : number` * Add `maximumStageBitrate : number` * oops --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- packages/discord.js/src/structures/Guild.js | 12 +++++++++++- packages/discord.js/typings/index.d.ts | 1 + 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/packages/discord.js/src/structures/Guild.js b/packages/discord.js/src/structures/Guild.js index 72e03bb4a..1fdb1bff3 100644 --- a/packages/discord.js/src/structures/Guild.js +++ b/packages/discord.js/src/structures/Guild.js @@ -641,7 +641,7 @@ 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 @@ -663,6 +663,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 8c7fe0d75..1bcaba733 100644 --- a/packages/discord.js/typings/index.d.ts +++ b/packages/discord.js/typings/index.d.ts @@ -1453,6 +1453,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 discoverySplashURL(options?: ImageURLOptions): string | null; public edit(options: GuildEditOptions): Promise;