Embeds being sent twice

async execute(interaction)
{
  const type = interaction.options.getString('type');
  const channel = interaction.options.getChannel('channel');

  if(type === 'embed_rules')
  {
    channel.send(
    {
      embeds: [EMBEDS.RULES]
    });

    await interaction.reply(
    {
      embeds: [EMBEDS.SUCCESS],
      ephemeral: true
    });
  }
}
Was this page helpful?