ephemeral error message for buttons
This commit is contained in:
parent
ff8561070a
commit
2b0524069d
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue