forked from cadence/out-of-your-element
d->m custom emoji reactions
This commit is contained in:
parent
09346654dd
commit
c7ddf638db
2 changed files with 19 additions and 2 deletions
|
@ -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)
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue