style(utils/deletecat): adding a real reply to the reaction
This commit is contained in:
parent
8d7039f714
commit
0058a17e3e
1 changed files with 2 additions and 2 deletions
|
|
@ -43,12 +43,12 @@ export default {
|
||||||
}
|
}
|
||||||
await category.delete(`Delete cat of ${category.name} (by ${interaction.username})`);
|
await category.delete(`Delete cat of ${category.name} (by ${interaction.username})`);
|
||||||
await interaction.reply({
|
await interaction.reply({
|
||||||
content: `${emoji.answer.yes} | Cannot suppress the category's channel`,
|
content: `${emoji.answer.yes} | Suppressed the ${category.name}`,
|
||||||
flags: MessageFlags.Ephemeral
|
flags: MessageFlags.Ephemeral
|
||||||
});
|
});
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
await interaction.reply({
|
await interaction.reply({
|
||||||
content: `${emoji.answer.error} | Cannot suppress the category's channel`,
|
content: `${emoji.answer.error} | Cannot suppress the category's channels`,
|
||||||
flags: MessageFlags.Ephemeral
|
flags: MessageFlags.Ephemeral
|
||||||
});
|
});
|
||||||
console.error(`Cannot suppress the category's channel:\n\t${err}`);
|
console.error(`Cannot suppress the category's channel:\n\t${err}`);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue