aboutsummaryrefslogtreecommitdiff
path: root/src/srcom/slash_commands.tsx
diff options
context:
space:
mode:
authorLuca Matei Pintilie <lucafulger@gmail.com>2022-08-16 16:26:58 +0000
committerLuca Matei Pintilie <lucafulger@gmail.com>2022-08-16 16:26:58 +0000
commit2342aaabb37e2359f6cdb8bc1e5192c62bd272fa (patch)
tree7aac93f5ca5303c116774ec0a46d67de06278f72 /src/srcom/slash_commands.tsx
parentf8d3d7b218799b91c72986a15c44db2e8e376700 (diff)
downloadspeedrunbot-slash-2342aaabb37e2359f6cdb8bc1e5192c62bd272fa.tar
speedrunbot-slash-2342aaabb37e2359f6cdb8bc1e5192c62bd272fa.tar.gz
speedrunbot-slash-2342aaabb37e2359f6cdb8bc1e5192c62bd272fa.tar.bz2
speedrunbot-slash-2342aaabb37e2359f6cdb8bc1e5192c62bd272fa.tar.lz
speedrunbot-slash-2342aaabb37e2359f6cdb8bc1e5192c62bd272fa.tar.xz
speedrunbot-slash-2342aaabb37e2359f6cdb8bc1e5192c62bd272fa.tar.zst
speedrunbot-slash-2342aaabb37e2359f6cdb8bc1e5192c62bd272fa.zip
Delete response after cancel
Diffstat (limited to '')
-rw-r--r--src/srcom/slash_commands.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/srcom/slash_commands.tsx b/src/srcom/slash_commands.tsx
index e375e31..76b1280 100644
--- a/src/srcom/slash_commands.tsx
+++ b/src/srcom/slash_commands.tsx
@@ -460,6 +460,7 @@ export class SpeedrunCom extends ApplicationCommandsModule {
ephemeral: true,
});
}
+ await i.deleteResponse();
runningTasks.delete(i.customID);
}