d->m custom emoji reactions

This commit is contained in:
Cadence Ember 2023-09-19 23:02:51 +12:00
parent 09346654dd
commit c7ddf638db
2 changed files with 19 additions and 2 deletions

View file

@ -207,7 +207,6 @@ module.exports = {
async onReactionAdd(client, data) {
if (data.user_id === client.user.id) return // m2d reactions are added by the discord bot user - do not reflect them back to matrix.
discordCommandHandler.onReactionAdd(data)
if (data.emoji.id !== null) return // TODO: image emoji reactions
await addReaction.addReaction(data)
},