From 962a1e9909abff35cab03c339687de8f7c04f168 Mon Sep 17 00:00:00 2001 From: Jaron Date: Sat, 15 Feb 2025 11:41:45 -0600 Subject: [PATCH] fix channel fromDiscord implementation --- src/types/channel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/channel.ts b/src/types/channel.ts index 26a7257..22e0f24 100644 --- a/src/types/channel.ts +++ b/src/types/channel.ts @@ -152,7 +152,7 @@ export class Channel extends GatewayObject { this.default_forum_layout = data.default_forum_layout; } - public static [Trait.fromDiscord](data: DiscordChannel): T { + public static [Trait.fromDiscord](data: DiscordChannel): T { return new Channel({ id: data.id, type: data.type,