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

    Function createAndPrintDispatchersSourceFile

    • Creates and writes the dispatcher source file from the provided application commands.

      Parameters

      • path: string

        The output path where the generated source file should be written.

      • commands: ApplicationCommandResponse[]

        The (global or guild) application commands used to generate the dispatchers.

      Returns void