startBot

Main connection logic.

This function *starts* the bot, after it has been sufficiently initialised. It resolves and connects to servers, then hands off execution to mainLoop.

private
startBot

Parameters

instance Kameloso

The current Kameloso instance.

Return Value

Type: auto

A RunState aggregate of state variables derived from a program run.