mirror of
https://github.com/jlu5/PyLink.git
synced 2025-02-02 15:44:06 +01:00
Oops, we need kick handling too!
This commit is contained in:
parent
70480b8830
commit
36a93320d7
6
proto.py
6
proto.py
@ -100,6 +100,12 @@ def handle_privmsg(irc, source, command, args):
|
||||
msg(irc, source, 'Uncaught exception in command %r: %s: %s' % (cmd, type(e).__name__, str(e)))
|
||||
return
|
||||
|
||||
def handle_kick(irc, source, command, args):
|
||||
# :70MAAAAAA KICK #endlessvoid 70MAAAAAA :some reason
|
||||
channel = args[0]
|
||||
kicked = args[1]
|
||||
irc.channels[channel].users.discard(kicked)
|
||||
|
||||
def handle_part(irc, source, command, args):
|
||||
channel = args[0]
|
||||
# We should only get PART commands for channels that exist, right??
|
||||
|
Loading…
Reference in New Issue
Block a user