Search code examples
pythonchatircbots

phenny/jenni IRC bot programming


I'm checking them out, but not at all understanding how I'd do several things:

  1. How, after a user joins the channel, jenni sends him a welcome message
  2. How to write a module in general
  3. Why .block list nick or any of the .block commands just fail (no output)

Also, do memos carry over if jenbot goes offline? Where is the database?


Solution

  • I don't have my code on this computer, but try this:

    jenni.write(['PRIVMSG','target_nick'],"Write your message here")