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:
parent
7a13d04455
commit
9c099d5541
12 changed files with 38 additions and 65 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue