ephemeral error message for buttons

This commit is contained in:
Mylloon 2023-01-16 14:58:54 +01:00
parent ff8561070a
commit 2b0524069d
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -50,6 +50,7 @@ export const collect = (client: Client, interaction: ChatInputCommandInteraction
if (!button) { if (!button) {
interaction.reply({ interaction.reply({
content: loc.get('e_interacreate_no_button'), content: loc.get('e_interacreate_no_button'),
ephemeral: true,
}); });
} }