diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-09-27 23:02:43 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-09-27 23:02:43 +1000 |
commit | ff28c95f2a71ecfe56ade338bb404eab95b9ee2d (patch) | |
tree | 41cd592200a7d3ac6cd7ea8a196365253b95b8f7 /src/api | |
parent | Make client cacher suck less? (diff) | |
download | server-ff28c95f2a71ecfe56ade338bb404eab95b9ee2d.tar.xz |
Fix message editing
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/util/handlers/Message.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/util/handlers/Message.ts b/src/api/util/handlers/Message.ts index d44b368f..fbf10a8a 100644 --- a/src/api/util/handlers/Message.ts +++ b/src/api/util/handlers/Message.ts @@ -59,8 +59,8 @@ export async function handleMessage(opts: MessageOptions): Promise<Message> { ? await Sticker.find({ where: { id: In(opts.sticker_ids) } }) : undefined; const message = Message.create({ - ...opts, id: Snowflake.generate(), + ...opts, sticker_items: stickers, guild_id: channel.guild_id, channel_id: opts.channel_id, |