From 8e918b35bc81aa910e4ddc48b8733387a72aa542 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Serna?= Date: Sat, 6 Aug 2022 23:41:38 -0300 Subject: [PATCH] Fix --- packages/core/src/structures/channels.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/core/src/structures/channels.ts b/packages/core/src/structures/channels.ts index 261a652..6bc443a 100644 --- a/packages/core/src/structures/channels.ts +++ b/packages/core/src/structures/channels.ts @@ -726,11 +726,7 @@ export class DMChannel extends BaseChannel implements Model { this.group = data.recipents.map(r => new User(this.session, r)); } - if (this.group) { - this.type = ChannelTypes.GroupDm; - } else { - this.type = ChannelTypes.DM; - } + this.type = ChannelTypes.GroupDm | ChannelTypes.GroupDm; if (data.last_message_id) { this.lastMessageId = data.last_message_id;