mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-10 04:32:35 +01:00
Fix message editing
This commit is contained in:
parent
567a3b802e
commit
a2ca9667e2
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user