@typed-discord/interactions-codegen
    Preparing search index...

    Function createSlashCommandHandler

    • Creates a handler type for a slash command.

      Parameters

      • interactionType: TypeNode

        The type of the interaction.

      • options: Option[]

        The options.

      Returns FunctionTypeNode