mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-04-19 21:03:56 +02: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue