Skip to content

Commit

Permalink
chore: Update error message for button usage in Utils.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
appujet committed Jul 31, 2024
1 parent acdb3a8 commit d8769d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/Utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export class Utils {
}
await interaction.editReply(getButton(page));
} else {
await interaction.reply({ content: "You can't use this button", ephemeral: true });
await interaction.reply({ content: ctx.locale("buttons.errors.not_author"), ephemeral: true });
}
});

Expand Down

0 comments on commit d8769d3

Please sign in to comment.