diff options
| author | juhulian <julian@rilli.eu> | 2014-04-09 10:30:03 +0200 | 
|---|---|---|
| committer | juhulian <julian@rilli.eu> | 2014-04-09 10:30:03 +0200 | 
| commit | 4072c48be90cd7d125cb8b693e07ff15caa64d59 (patch) | |
| tree | e7839a5f3e2b53adedb6e18c6ff67a907dbd2ecc /IRC | |
| parent | a727674d154d73a60edbefa27d9dd38db1d130cf (diff) | |
add on_join
Diffstat (limited to 'IRC')
| -rw-r--r-- | IRC/ircasy.py | 6 | 
1 files changed, 6 insertions, 0 deletions
| 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 | 
