Convert nemuspeak as a module to nemubot

This commit is contained in:
nemunaire 2014-10-27 18:40:04 +01:00
commit f927d5ab0a
4 changed files with 160 additions and 209 deletions

View file

@ -105,6 +105,9 @@ class IRC(SocketServer):
self.ctcp_capabilities["USERINFO"] = lambda msg, cmds: "USERINFO %s" % self.realname
self.ctcp_capabilities["VERSION"] = lambda msg, cmds: "VERSION nemubot v%s" % bot.__version__
# TODO: Temporary fix, waiting for hook based CTCP management
self.ctcp_capabilities["TYPING"] = lambda msg, cmds: None
self.logger.debug("CTCP capabilities setup: %s", ", ".join(self.ctcp_capabilities))