support rich replies, support basic m.mentions

This commit is contained in:
Cadence Ember 2023-07-11 16:51:30 +12:00
parent 5326b7d6be
commit 328ae74b61
7 changed files with 689 additions and 16 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)
const events = await messageToEvent.messageToEvent(message, guild, api)
const eventIDs = []
let eventPart = 0 // 0 is primary, 1 is supporting
for (const event of events) {