Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion packages/discord.js/src/structures/Guild.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down
1 change: 1 addition & 0 deletions packages/discord.js/typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<GuildTemplate>;
public discoverySplashURL(options?: ImageURLOptions): string | null;
public edit(options: GuildEditOptions): Promise<Guild>;
Expand Down