diff --git a/bot.py b/bot.py index 8b3f70e..6cb004c 100644 --- a/bot.py +++ b/bot.py @@ -76,7 +76,7 @@ class Bot: def init_ctcp_capabilities(self): """Reset existing CTCP capabilities to default one""" - self.ctcp_capabilities["ACTION"] = lambda msg: print ("ACTION receive") + self.ctcp_capabilities["ACTION"] = lambda srv, msg: print ("ACTION receive") self.ctcp_capabilities["CLIENTINFO"] = self._ctcp_clientinfo self.ctcp_capabilities["DCC"] = self._ctcp_dcc self.ctcp_capabilities["NEMUBOT"] = lambda srv, msg: _ctcp_response(