nyx Typedoc
    Preparing search index...

    Interface CommandMiddleware<Types>

    Middleware that can handle ExecutableCommand executions.

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

    Type Parameters

    Hierarchy (View Summary)

    Implemented by

    Index