Options missing from slash command.

const interaction = {
  interaction: {
    type: ApplicationCommandType.ChatInput,
    description: "some description",
    options: [
      {
        name: "question",
        description: "poll question",
         type: ApplicationCommandOptionType.String,
        required: true,
      },
    ],
  },

  helpData: undefined,

  async execute(execution) {
    console.log("awd");
  },
} satisfies InteractionDefinition<ChatInputApplicationCommandData, true>;


The options are just missing.
Was this page helpful?