We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a93f10 commit dfd5558Copy full SHA for dfd5558
src/commands/moderation/cancelMatch.ts
@@ -41,13 +41,17 @@ export default {
41
await COMMAND_HANDLERS.MODERATION.CANCEL_MATCH(matchId)
42
43
if (matchCancelCheck) {
44
- await interaction.reply({
45
- content: `Successfully cancelled match ${matchId}`,
46
- })
+ await interaction
+ .reply({
+ content: `Successfully cancelled match ${matchId}`,
47
+ })
48
+ .catch(() => console.log('Failed to reply'))
49
} else {
- content: `Failed to cancel match ${matchId}.`,
50
51
52
+ content: `Failed to cancel match ${matchId}.`,
53
54
55
}
56
} catch (err: any) {
57
console.error(err)
0 commit comments