🚧 dm channels

This commit is contained in:
Flam3rboy
2021-05-31 20:32:23 +02:00
parent 711dc1c4d4
commit 536900d255
6 changed files with 80 additions and 67 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ export async function createChannel(channel: Partial<TextChannel | VoiceChannel>
id: Snowflake.generate(),
created_at: new Date(),
// @ts-ignore
recipients: null
recipient_ids: null
}).save();
await emitEvent({ event: "CHANNEL_CREATE", data: channel, guild_id: channel.guild_id } as ChannelCreateEvent);