Add ephemeral reply upon rules success
This commit is contained in:
parent
29a4a596f7
commit
c4b5d9671b
1 changed files with 10 additions and 3 deletions
|
@ -57,5 +57,12 @@ export default class Rules extends Command {
|
|||
}
|
||||
|
||||
await channel.send({ embeds: embeds });
|
||||
|
||||
const successEmbed = new EmbedBuilder()
|
||||
.setColor(EmbedColours.Ok)
|
||||
.setTitle("Success")
|
||||
.setDescription("The rules have sent to this channel successfully");
|
||||
|
||||
await interaction.reply({ embeds: [ successEmbed], ephemeral: true });
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue