mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
fix: unit of bitrate fields in bits per second (#5194)
This commit is contained in:
@@ -438,7 +438,7 @@ export interface Channel {
|
||||
topic?: string;
|
||||
/** The id of the last message sent in this channel (may not point to an existing or valid message) */
|
||||
lastMessageId?: bigint;
|
||||
/** The bitrate (in bits) of the voice or stage channel */
|
||||
/** The bitrate (in bits per second) of the voice or stage channel */
|
||||
bitrate?: number;
|
||||
/** The user limit of the voice or stage channel */
|
||||
userLimit?: number;
|
||||
|
||||
@@ -39,7 +39,7 @@ export interface DiscordChannel extends Partial<DiscordThreadCreateExtra> {
|
||||
nsfw?: boolean;
|
||||
/** The id of the last message sent in this channel (may not point to an existing or valid message or thread) */
|
||||
last_message_id?: string | null;
|
||||
/** The bitrate (in bits) of the voice or stage channel */
|
||||
/** The bitrate (in bits per second) of the voice or stage channel */
|
||||
bitrate?: number;
|
||||
/** The user limit of the voice or stage channel */
|
||||
user_limit?: number;
|
||||
|
||||
@@ -113,7 +113,7 @@ export interface ModifyChannel {
|
||||
*/
|
||||
rateLimitPerUser?: number | null;
|
||||
/**
|
||||
* The bitrate (in bits) of the voice or stage channel
|
||||
* The bitrate (in bits per second) of the voice or stage channel
|
||||
*
|
||||
* @remarks
|
||||
* Minimum of 8000 bits
|
||||
|
||||
@@ -70,7 +70,7 @@ export interface CreateGuildChannel {
|
||||
type?: ChannelTypes;
|
||||
/** Channel topic (0-1024 characters) */
|
||||
topic?: string;
|
||||
/** The bitrate (in bits) of the voice channel (voice only) */
|
||||
/** The bitrate (in bits per second) of the voice channel (voice only) */
|
||||
bitrate?: number;
|
||||
/** The user limit of the voice channel (voice only) */
|
||||
userLimit?: number;
|
||||
|
||||
Reference in New Issue
Block a user