From 4072c48be90cd7d125cb8b693e07ff15caa64d59 Mon Sep 17 00:00:00 2001 From: juhulian Date: Wed, 9 Apr 2014 10:30:03 +0200 Subject: add on_join --- IRC/ircasy.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/IRC/ircasy.py b/IRC/ircasy.py index 068cd46..b40913c 100644 --- a/IRC/ircasy.py +++ b/IRC/ircasy.py @@ -113,6 +113,9 @@ class asybot(asychat): elif command == 'KICK': self.on_kick(prefix, command, params, rest) + elif command == 'JOIN': + self.on_join(prefix, command, params, rest)) + elif command == '433': # ERR_NICKNAMEINUSE, retry with another name self.on_nickinuse(prefix, command, params, rest) @@ -169,6 +172,9 @@ class asybot(asychat): for chan in params[:-1]: self.channels.remove(chan) + def on_join(self, prefix, command, params, rest): + pass + def on_privmsg(self, prefix, command, params, rest): pass -- cgit v1.2.3