mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-04 02:15:40 +00:00
Use message.create
This commit is contained in:
@@ -467,6 +467,7 @@ router.post(
|
||||
member_id: message.member_id,
|
||||
author_id: message.author_id
|
||||
});
|
||||
|
||||
await Promise.all([
|
||||
message.save(),
|
||||
emitEvent({
|
||||
|
||||
Reference in New Issue
Block a user