Add ephemeral reply upon rules success

This commit is contained in:
Ethan Lane 2022-12-12 18:11:16 +00:00
parent 29a4a596f7
commit c4b5d9671b

View file

@ -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 });
}
}