summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-05-31 20:32:23 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-05-31 20:32:23 +0200
commit536900d255ff4306b00903dac1988ca08ce731ee (patch)
tree9c7d24fa946944bf8697e3450b1d45811405a8da /src/util
parent:bug: fix getPublicUser (diff)
downloadserver-536900d255ff4306b00903dac1988ca08ce731ee.tar.xz
:construction: dm channels
Diffstat (limited to 'src/util')
-rw-r--r--src/util/Channel.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/Channel.ts b/src/util/Channel.ts

index c8df85bc..8dfc03bc 100644 --- a/src/util/Channel.ts +++ b/src/util/Channel.ts
@@ -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);