aboutsummaryrefslogtreecommitdiff
path: root/src/utils/loading-message.ts
diff options
context:
space:
mode:
authorMax Isom <[email protected]>2021-09-14 13:35:54 -0400
committerMax Isom <[email protected]>2021-09-14 13:35:54 -0400
commit427654fc60ee1431690dfb6ea2917c84a7f0ef56 (patch)
tree6bdad6dee6e650fea9222f37afbebcefb2782a1e /src/utils/loading-message.ts
parent257191b1837c0a051c8aae3000dfac039b4d3c1b (diff)
downloadmuse-427654fc60ee1431690dfb6ea2917c84a7f0ef56.tar.xz
muse-427654fc60ee1431690dfb6ea2917c84a7f0ef56.zip
Use same logic for removing reactions when either animation is ongoing or animation is stopped
Diffstat (limited to 'src/utils/loading-message.ts')
-rw-r--r--src/utils/loading-message.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/loading-message.ts b/src/utils/loading-message.ts
index 95c7a2f..f0f91c9 100644
--- a/src/utils/loading-message.ts
+++ b/src/utils/loading-message.ts
@@ -43,7 +43,7 @@ export default class {
if (reactionToRemove) {
// eslint-disable-next-line no-await-in-loop
- await reactionToRemove.remove();
+ await reactionToRemove.users.remove(this.msg.client.user!.id);
} else {
isRemoving = false;
}