3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-17 15:15:02 +00:00

Make several event handlers non-blocking for performance

This commit is contained in:
Dragory 2019-01-13 23:31:09 +02:00
parent 5317eb39ed
commit 53bf73936d
4 changed files with 10 additions and 3 deletions

View file

@ -101,7 +101,7 @@ export class AutoReactions extends Plugin {
if (!realMsg) return;
for (const reaction of autoReaction.reactions) {
await realMsg.addReaction(reaction);
realMsg.addReaction(reaction);
}
}
}