nyx Typedoc
    Preparing search index...

    Interface SessionUpdateMiddleware<Types>

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

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

    Type Parameters

    Hierarchy (View Summary)

    Index