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 | a2ca9667e2aa56a1cae3d3631b94f7f2543e0669 (patch) | |
tree | b6fdf1540ab2455806c29b4a5b1ea42aa927e434 | |
parent | Make client cacher suck less? (diff) | |
download | server-a2ca9667e2aa56a1cae3d3631b94f7f2543e0669.tar.xz |
Fix message editing
-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, |