Responding to Select Menus Options

Hey, I've made a Select Menu with 2 options, and I understand how to make the bot receive interaction as far the Select Menu goes, but I am having trouble understanding how to filter out each of the option and send an embed depending on that

This is the code for the Select Menu:
    let SelectMenu = new Discord.ActionRowBuilder().setComponents(
      new Discord.SelectMenuBuilder()
        .setCustomId("categories")
        .setPlaceholder("Select a Help Category!")
        .setOptions([
          { label: "General", value: "General" },
          { label: "Fun", value: "Fun" },
        ])
    );
Was this page helpful?