acknowledge with reply

This commit is contained in:
Baipyrus 2024-04-05 11:32:31 +02:00
parent 54dc8bd245
commit 03fd826952

View File

@ -129,6 +129,12 @@ async function removeKeyword(interaction) {
name: keyword
}
});
// Reply with success
await interaction.reply({
content: `Keyword '${keyword}' was successfully deleted!`,
ephemeral: true
});
}
/** @param {ChatInputCommandInteraction} interaction */
@ -155,6 +161,12 @@ async function removeResponse(interaction) {
name
}
});
// Reply with success
await interaction.reply({
content: `Response with name '${name}' was successfully deleted!`,
ephemeral: true
});
}
/** @param {ChatInputCommandInteraction} interaction */