mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 19:43:29 +01: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:
@@ -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}
|
* @type {number}
|
||||||
* @readonly
|
* @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.
|
* Fetches a collection of integrations to this guild.
|
||||||
* Resolves with a collection mapping integrations by their ids.
|
* Resolves with a collection mapping integrations by their ids.
|
||||||
|
|||||||
1
packages/discord.js/typings/index.d.ts
vendored
1
packages/discord.js/typings/index.d.ts
vendored
@@ -1453,6 +1453,7 @@ export class Guild extends AnonymousGuild {
|
|||||||
public widgetChannelId: Snowflake | null;
|
public widgetChannelId: Snowflake | null;
|
||||||
public widgetEnabled: boolean | null;
|
public widgetEnabled: boolean | null;
|
||||||
public get maximumBitrate(): number;
|
public get maximumBitrate(): number;
|
||||||
|
public get maximumStageBitrate(): number;
|
||||||
public createTemplate(name: string, description?: string): Promise<GuildTemplate>;
|
public createTemplate(name: string, description?: string): Promise<GuildTemplate>;
|
||||||
public discoverySplashURL(options?: ImageURLOptions): string | null;
|
public discoverySplashURL(options?: ImageURLOptions): string | null;
|
||||||
public edit(options: GuildEditOptions): Promise<Guild>;
|
public edit(options: GuildEditOptions): Promise<Guild>;
|
||||||
|
|||||||
Reference in New Issue
Block a user