From 9c90d3de7662dbfd21c67917a873386b0d36d2bf Mon Sep 17 00:00:00 2001 From: TrisTOON <36267812+TrisTOON@users.noreply.github.com> Date: Sat, 30 Dec 2023 14:58:23 +0100 Subject: [PATCH] Fixes interaction reply translations not being sent by verification commands --- src/commands/apply.ts | 2 +- src/commands/approve.ts | 2 +- src/commands/refuse.ts | 2 +- src/commands/verify.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/commands/apply.ts b/src/commands/apply.ts index 285d88f..f0e1baa 100644 --- a/src/commands/apply.ts +++ b/src/commands/apply.ts @@ -77,7 +77,7 @@ const applyCommand: Command = { if (resolvedLocale === "en-US") { return; } - await interaction.reply({ + await interaction.followUp({ content: formatMessage(resolvedLocale), ephemeral: true, }); diff --git a/src/commands/approve.ts b/src/commands/approve.ts index 2d63a84..b2a3d78 100644 --- a/src/commands/approve.ts +++ b/src/commands/approve.ts @@ -112,7 +112,7 @@ const approveCommand: Command = { if (resolvedLocale === "en-US") { return; } - await interaction.reply({ + await interaction.followUp({ content: formatMessage(resolvedLocale), ephemeral: true, }); diff --git a/src/commands/refuse.ts b/src/commands/refuse.ts index fe2b5ec..811dd01 100644 --- a/src/commands/refuse.ts +++ b/src/commands/refuse.ts @@ -112,7 +112,7 @@ const refuseCommand: Command = { if (resolvedLocale === "en-US") { return; } - await interaction.reply({ + await interaction.followUp({ content: formatMessage(resolvedLocale), ephemeral: true, }); diff --git a/src/commands/verify.ts b/src/commands/verify.ts index 85042ff..20b7a30 100644 --- a/src/commands/verify.ts +++ b/src/commands/verify.ts @@ -83,7 +83,7 @@ const verifyCommand: Command = { if (resolvedLocale === "en-US") { return; } - await interaction.reply({ + await interaction.followUp({ content: formatMessage(resolvedLocale), ephemeral: true, });