nyx Typedoc
    Preparing search index...

    Interface CommandDeployer<Types, ApplicationCommand>

    interface CommandDeployer<
        Types extends InteractionTypes = InteractionTypes,
        ApplicationCommand = APIApplicationCommand,
    > {
        "[iterator]"(): IterableIterator<ApplicationCommand, any, any>;
        deploy(): Awaitable<ReadonlyCollection<string, ApplicationCommand>>;
        deployCommands(
            ...commands: TopLevelCommand<Types>[],
        ): Awaitable<CommandDeployer<Types, ApplicationCommand>>;
        editCommands(
            ...commands: TopLevelCommand<Types>[],
        ): Awaitable<CommandDeployer<Types, ApplicationCommand>>;
        entries(): IterableIterator<[string, ApplicationCommand]>;
        getMappings(): ReadonlyCollection<string, ApplicationCommand>;
        keys(): IterableIterator<string>;
        next(
            ...__namedParameters: [] | [any],
        ): IteratorResult<ApplicationCommand, any>;
        removeCommands(
            ...commands: TopLevelCommand<Types>[],
        ): Awaitable<CommandDeployer<Types, ApplicationCommand>>;
        return?(value?: any): IteratorResult<ApplicationCommand, any>;
        setCommands(
            ...commands: TopLevelCommand<Types>[],
        ): Awaitable<CommandDeployer<Types, ApplicationCommand>>;
        throw?(e?: any): IteratorResult<ApplicationCommand, any>;
        values(): IterableIterator<ApplicationCommand>;
    }

    Type Parameters

    Hierarchy

    Implemented by

    Index
    • Returns IterableIterator<ApplicationCommand, any, any>

    • Parameters

      • ...__namedParameters: [] | [any]

      Returns IteratorResult<ApplicationCommand, any>

    • Parameters

      • Optionalvalue: any

      Returns IteratorResult<ApplicationCommand, any>

    • Parameters

      • Optionale: any

      Returns IteratorResult<ApplicationCommand, any>