obby-client for TypeScript
    Preparing search index...

    Type Alias LocalUser

    Who we are on this connection.

    type LocalUser = {
        account: string | null;
        away: string | null;
        metadata: { [key in string]?: string };
        modes: string;
        nick: string;
    }
    Index
    account: string | null

    The account we authenticated as.

    away: string | null

    Our away message, when we are away.

    metadata: { [key in string]?: string }

    Metadata the server holds, such as display-name, color, avatar and bot.

    These are plain draft/metadata-2 keys with no vendor prefix, despite everything else Obby adds being namespaced.

    modes: string

    Our user modes.

    nick: string

    Our current nick.