mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-01 16:30:08 +00:00
Merge pull request #1952 from lts20050703/gh-1904
discord-api-docs: Clarification on channel icons
This commit is contained in:
@@ -39,7 +39,6 @@ export function transformChannel(
|
||||
userLimit: payload.channel.user_limit,
|
||||
rateLimitPerUser: payload.channel.rate_limit_per_user,
|
||||
recipients: payload.channel.recipients?.map((r) => bot.transformers.user(bot, r)),
|
||||
icon: payload.channel.icon ? bot.utils.iconHashToBigInt(payload.channel.icon) : undefined,
|
||||
rtcRegion: payload.channel.rtc_region,
|
||||
videoQualityMode: payload.channel.video_quality_mode,
|
||||
guildId: payload.guildId || (payload.channel.guild_id ? bot.transformers.snowflake(payload.channel.guild_id) : 0n),
|
||||
|
||||
@@ -33,8 +33,6 @@ export interface Channel {
|
||||
rateLimitPerUser?: number;
|
||||
/** The recipients of the DM */
|
||||
recipients?: User[];
|
||||
/** Icon hash */
|
||||
icon?: string | null;
|
||||
/** Id of the creator of the group DM or thread */
|
||||
ownerId?: string;
|
||||
/** Application id of the group DM creator if it is bot-created */
|
||||
|
||||
Reference in New Issue
Block a user