On 2014-12-10 00:44:51, strikingwolf2012@gmail.com wrote:
Show quoted text> When the default username on my bot was already in use it should move on to
> the alternates; however, instead it just throws a connection error
The documentation for alt_nicks says this is expected:
== quote doco ==
Alternate nicks that this bot will be known by. These are not nicks that the bot will try if it's main nick is taken, but rather other nicks that the bot will recognise if it is addressed in a public channel as the nick. This is useful for bots that are replacements for other bots...e.g, your bot can answer to the name "infobot: " even though it isn't really.
== end quote ==
That surprises me, though; I also would have expected it to respond to a "nick in use" by trying one of those alternate nicks.
I'll see how hard that would be to add. At a glance, POE::Component::IRC doesn't seem to support it, so I suspect the right solution would be to submit a PR/patch to Poco::IRC adding "try alternate nicks" functionality, and if that's merged and a new release put out, then just update Bot::BasicBot to use it.