From e25c527f0e3c5623720022347ca13514b75881dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Serna?= Date: Sun, 7 Aug 2022 01:14:43 -0300 Subject: [PATCH] Fix --- packages/core/src/structures/channels.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/structures/channels.ts b/packages/core/src/structures/channels.ts index 6bc443a..854ac8f 100644 --- a/packages/core/src/structures/channels.ts +++ b/packages/core/src/structures/channels.ts @@ -726,7 +726,7 @@ export class DMChannel extends BaseChannel implements Model { this.group = data.recipents.map(r => new User(this.session, r)); } - this.type = ChannelTypes.GroupDm | ChannelTypes.GroupDm; + this.type = data.type as ChannelTypes.GroupDm | ChannelTypes.GroupDm; if (data.last_message_id) { this.lastMessageId = data.last_message_id;