Bot.connect

Connect the bot to a network described in the IRC URL url.

The new connection is automatically added to the event loop used by this bot.

  1. IrcClient connect(string url, char[] serverPassword)
    class Bot
    final
    IrcClient
    connect
    (
    string url
    ,
    in char[] serverPassword
    )
  2. IrcClient connect(string url)

Parameters

url string

URL containing information about server, port, SSL and more

serverPassword char[]

password to server, or null to specify no password

Return Value

Type: IrcClient

the new connection

Meta