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:
parent
5317eb39ed
commit
53bf73936d
4 changed files with 10 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue