mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-21 16:55:03 +00:00
Properly order reaction roles
This commit is contained in:
parent
167cf2adf1
commit
18fe83c65f
7 changed files with 41 additions and 9 deletions
|
@ -61,7 +61,7 @@ export const AddReactionRoleEvt = reactionRolesEvt({
|
|||
setTimeout(() => {
|
||||
pluginData.state.reactionRemoveQueue.add(async () => {
|
||||
const wait = sleep(1500);
|
||||
await meta.args.reaction.remove().catch(noop);
|
||||
await meta.args.reaction.users.remove(userId).catch(noop);
|
||||
await wait;
|
||||
});
|
||||
}, 1500);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue