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 4b6437c4ae
commit ed3760313f
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;