mirror of
https://github.com/BluemediaGER/muse.git
synced 2024-11-23 09:15:29 +01:00
Use same logic for removing reactions when either animation is ongoing or animation is stopped
This commit is contained in:
parent
257191b183
commit
427654fc60
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue