generated from Baipyrus/DiscordJS-Template
acknowledge with reply
This commit is contained in:
parent
54dc8bd245
commit
03fd826952
@ -129,6 +129,12 @@ async function removeKeyword(interaction) {
|
|||||||
name: keyword
|
name: keyword
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Reply with success
|
||||||
|
await interaction.reply({
|
||||||
|
content: `Keyword '${keyword}' was successfully deleted!`,
|
||||||
|
ephemeral: true
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @param {ChatInputCommandInteraction} interaction */
|
/** @param {ChatInputCommandInteraction} interaction */
|
||||||
@ -155,6 +161,12 @@ async function removeResponse(interaction) {
|
|||||||
name
|
name
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Reply with success
|
||||||
|
await interaction.reply({
|
||||||
|
content: `Response with name '${name}' was successfully deleted!`,
|
||||||
|
ephemeral: true
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @param {ChatInputCommandInteraction} interaction */
|
/** @param {ChatInputCommandInteraction} interaction */
|
||||||
|
Loading…
Reference in New Issue
Block a user