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;