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

Update to Knub 17.0.1, remove all d.nonBlocking() calls

This commit is contained in:
Dragory 2019-02-17 15:19:55 +02:00
parent 7a13d04455
commit 9c099d5541
12 changed files with 38 additions and 65 deletions

View file

@ -193,7 +193,6 @@ export class ReactionRolesPlugin extends ZeppelinPlugin {
}
@d.event("messageReactionAdd")
@d.nonBlocking()
async onAddReaction(msg: Message, emoji: CustomEmoji, userId: string) {
const matchingReactionRole = await this.reactionRoles.getByMessageAndEmoji(msg.id, emoji.id || emoji.name);
if (!matchingReactionRole) return;