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

nickserv password? #11

Open jasonbeee opened 11 years ago

jasonbeee commented 11 years ago

How do I set a nickserv password for the bot? I want it to identify itself on a registered nick so it can be auto opd.

frdmn commented 11 years ago

@jasonbeee Something like this near line 112 in bot/pierc.py should do it:

  def on_welcome(self, connection, event):
    connection.privmsg("nickserv", "identify " + "<NickServPassword>")
    if irclib.is_channel(self.target):
      connection.join(self.target)

No warranty. Didn't test it.

acffordyce973 commented 10 years ago

Thanks, this worked for me. It'd be better if there was something in the config though.

frdmn commented 10 years ago

I agree. Perhaps we'll implement something like this in the future. :)

— Sent from Mailbox for iPhone

On Wed, Nov 27, 2013 at 1:34 PM, acffordyce973 notifications@github.com wrote:

Thanks, this worked for me. It'd be better if there was something in the config though.

Reply to this email directly or view it on GitHub: https://github.com/classam/pierc/issues/11#issuecomment-29381058