diff --git a/src/transformers/channel.ts b/src/transformers/channel.ts index e91c31a1c..de5f3ca52 100644 --- a/src/transformers/channel.ts +++ b/src/transformers/channel.ts @@ -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), diff --git a/src/types/channels/channel.ts b/src/types/channels/channel.ts index 022a86b9b..8e4fac1e5 100644 --- a/src/types/channels/channel.ts +++ b/src/types/channels/channel.ts @@ -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 */