Class WhoisCollector

Get a full WHOIS response from the server

311 - Start of WHOIS, Nickname, hostmask, realname

319 - Channels

378 - Connecting from

379 - User modes

312 - Server and server name

313 - User title

330 - Login time

335 - Is a bot

307 - Registered

671 - Secure connection

317 - Sign on time and idle time

318 - End of WHOIS

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

additional: string[]

Append lines with these commands to buffer.

await: string

Wait for this command from the server.

buffer: IIRCLine[] = []

Buffer list of additional data.

match?: ((line: IIRCLine) => boolean)

Type declaration

Methods

  • Line matching commands in additional will call this function. Use it to populate the buffer.

    Parameters

    Returns void

  • Resolve the collector.

    Parameters

    • line: IIRCLine

      The line resolving to await

    • data: IIRCLine[]

      Additional data in buffer, usually only present when using additional

    Returns void

Generated using TypeDoc