record more update events

This commit is contained in:
Cadence Ember 2023-08-16 20:44:38 +12:00
commit 8f6bb86b92
6 changed files with 122 additions and 72 deletions

View file

@ -27,7 +27,7 @@ async function sendMessage(message, guild) {
await registerUser.syncUser(message.author, message.member, message.guild_id, roomID)
}
const events = await messageToEvent.messageToEvent(message, guild, api)
const events = await messageToEvent.messageToEvent(message, guild, {}, {api})
const eventIDs = []
let eventPart = 0 // 0 is primary, 1 is supporting
for (const event of events) {