nyx Typedoc
    Preparing search index...

    Class SessionLimitScope<Types>

    Defines the scope within which session limits are enforced.

    Predefined scopes: User, Guild, Channel. Use composite or custom for advanced scoping.

    Type Parameters

    Implements

    Index
    keyFn: (session: Session<unknown, Types>) => string
    Channel: SessionLimitScope = ...

    Limits sessions per channel (by channel ID, or 'unknown' if missing).

    Guild: SessionLimitScope = ...

    Limits sessions per guild (by guild ID, or 'dm' for DMs).

    User: SessionLimitScope = ...

    Limits sessions per user (by user ID).