cube-drone / pierc

A python bot that logs IRC channels, and a PHP/JS interface for browsing said logs.
http://classam.github.com/pierc/
Other
52 stars 24 forks source link

Rejoin on kick? #27

Open acffordyce973 opened 10 years ago

acffordyce973 commented 10 years ago

I'm probably just missing this, but is there any way to get the bot to re-join channel when kicked?

cube-drone commented 10 years ago

Why's your bot getting kicked? If it's being kicked by a legit op, maybe you shouldn't be running a bot in that channel ...

acffordyce973 commented 10 years ago

The op just likes to annoy me because he knows that I have to kill the bot then start it again. Stupid, I know.

cube-drone commented 10 years ago

My tentative fix for this is 'don't run pierc in channels where the op is a butt', because such a feature never existed, and I'm not sure if I want to add one (it seems ripe for abuse: if someone gets kicked it's usually for a good reason).

acffordyce973 commented 10 years ago

I'm the channel owner, and people tend to kick people just for the fun of it. It's just the network in general. If I didn't know the guy I'd ban him from the channel. Other bots have a re-join on kick function, of course this isn't another bot though.

It could be useful to kick it for a set amount of time, to avoid it logging something.

frdmn commented 10 years ago

Sorry, but i dont really see a reason for that feature either. My suggestion is to deop those people!

acffordyce973 commented 10 years ago

I understand where you're coming from but I still think some way for the bot to re-join the channel would be useful. Even having it join on /invite would be useful, instead of having to kill it.