Use same logic for removing reactions when either animation is ongoing or animation is stopped

This commit is contained in:
Max Isom 2021-09-14 13:35:54 -04:00
parent 257191b183
commit 427654fc60
No known key found for this signature in database
GPG key ID: 25C9B1A7F6798880

View file

@ -43,7 +43,7 @@ export default class {
if (reactionToRemove) { if (reactionToRemove) {
// eslint-disable-next-line no-await-in-loop // eslint-disable-next-line no-await-in-loop
await reactionToRemove.remove(); await reactionToRemove.users.remove(this.msg.client.user!.id);
} else { } else {
isRemoving = false; isRemoving = false;
} }