nickvanw / ircx

Basic callback-driven Go IRC bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unused option "rejoin"

allonhadaya opened this issue · comments

Hi, I noticed that bot currently defines a default option with the key "rejoin" here. It doesn't seem to be used anywhere. Is it a leftover from old functionality, or something else I'm not seeing?

Hi @allonhadaya!

I wrote ircx a while ago as a framework for a more fully fledged IRC bot, bogon

It looks like I left those defaults in so that I could use them here, as configuration to rejoin a channel when the bot has been kicked. I don't believe they're used inside this project, I'll go ahead and open a PR to remove the key!

Cool, I'll check out bogon. Thanks!

PR has been merged that removes this, once #15 is in, there will be no more magic "config" values!