nyx Typedoc
    Preparing search index...

    Interface SessionStartMiddleware<Types>

    An object that intercepts and validates/decorates the execution of something.

    interface SessionStartMiddleware<
        Types extends InteractionTypes = InteractionTypes,
    > {
        check(
            checked: Session,
            ...args: SessionStartArgs,
        ): Awaitable<MiddlewareResponse>;
        getPriority(): Priority;
        isProtected(): boolean;
        protect(): this;
        unprotect(): this;
    }

    Type Parameters

    Hierarchy (View Summary)

    Implemented by

    Index