Skip to content

Commit

Permalink
Fixes interaction reply translations not being sent by verification c…
Browse files Browse the repository at this point in the history
…ommands
  • Loading branch information
PolariTOON committed Dec 30, 2023
1 parent 1508616 commit cb99d0c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/commands/apply.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const applyCommand: Command = {
if (resolvedLocale === "en-US") {
return;
}
await interaction.reply({
await interaction.followUp({
content: formatMessage(resolvedLocale),
ephemeral: true,
});
Expand Down
2 changes: 1 addition & 1 deletion src/commands/approve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const approveCommand: Command = {
if (resolvedLocale === "en-US") {
return;
}
await interaction.reply({
await interaction.followUp({
content: formatMessage(resolvedLocale),
ephemeral: true,
});
Expand Down
2 changes: 1 addition & 1 deletion src/commands/refuse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const refuseCommand: Command = {
if (resolvedLocale === "en-US") {
return;
}
await interaction.reply({
await interaction.followUp({
content: formatMessage(resolvedLocale),
ephemeral: true,
});
Expand Down
2 changes: 1 addition & 1 deletion src/commands/verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const verifyCommand: Command = {
if (resolvedLocale === "en-US") {
return;
}
await interaction.reply({
await interaction.followUp({
content: formatMessage(resolvedLocale),
ephemeral: true,
});
Expand Down

0 comments on commit cb99d0c

Please sign in to comment.