From b9d60ee1a0eedc17c2dc16c73f8ed0f6809de5a0 Mon Sep 17 00:00:00 2001 From: juhulian Date: Wed, 9 Apr 2014 10:30:03 +0200 Subject: add on_join --- Reaktor/IRC/ircasy.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Reaktor/IRC') diff --git a/Reaktor/IRC/ircasy.py b/Reaktor/IRC/ircasy.py index 068cd467..b40913ce 100644 --- a/Reaktor/IRC/ircasy.py +++ b/Reaktor/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