Interface IIRCOptions

Hierarchy

  • IIRCOptions

Properties

bot?: boolean

Set +B mode on self (servers may not all support this!)

channels?: string[]

List of channels to join on connect

connOpts?: Record<string, unknown>

Additional options for connections, usually passed right along to socket without additional alterations.

Special cases for included connections:

  • path - IRCWebSocketConnector will append this to the WebSocket URL.
  • skipPings - Included connectors will not respond to PINGs if set.
  • wsPingInterval - IRCWebSocketConnector pings the server instead of the server pinging it. Here, you can set the ping interval in milliseconds. Defaults to 60000, 1 minute. This setting is ignored if you have specified skipPings, in which case, you will need to use a custom pinger for the WebSocket.
host: string

IRC server hostname

hostname?: string

Your user's hostname, this will be set automatically on connect. Setting it manually has no effect.

nick: string

IRC nickname

nickserv?: INickServOptions

Additional NickServ options

password?: string

IRC server password. Sometimes also used as nickserv password.

port?: number

IRC server port

realname?: string

IRC realname

sasl?: boolean

Enable SASL authentication.

ssl?: boolean

Enable SSL

username?: string

IRC username

Generated using TypeDoc