spion / triplie-ng

Chatbot with Markov chains BFS and Hebbian learning
MIT License
57 stars 16 forks source link

Add ability for bot to interact with Nickserv (register, identify, ghost, etc) #20

Open geeknik opened 9 years ago

geeknik commented 9 years ago

I might be able to add this myself (I'm still looking over the source), but I think it would be great if the bot was able to identify itself (at the least) with Nickserv when connecting to an IRC server. A lot of channels are moving to mode +r which keeps unregistered people from entering and some channels don't let unregistered people speak.

spion commented 9 years ago

Adding your own custom modules should be fairly easy; here is the simplest one:

https://github.com/spion/triplie-ng/blob/master/modules/log.js

You can put module.js in the local directory and add an entry in the modules section in the yaml file that uses a relative path: i.e.

modules:
- ...
- "./mymodule.js"