mirror of
https://github.com/discordjs/discord.js.git
synced 2026-09-17 08:47:27 +00:00
feat(Guild): Add maximumStageBitrate (#11313)
* Add `maximumStageBitrate : number` * Add `maximumStageBitrate : number` * oops --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
kodiakhq[bot]
parent
b6db455b99
commit
6d2cd99526
@@ -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.
|
||||
|
||||
+1
@@ -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<GuildTemplate>;
|
||||
public delete(): Promise<Guild>;
|
||||
public discoverySplashURL(options?: ImageURLOptions): string | null;
|
||||
|
||||
Reference in New Issue
Block a user