Get more information from kick and nick commands
This commit is contained in:
parent
34d5468672
commit
97cc80f3b8
|
@ -217,8 +217,16 @@ class IRCBot(IRCClient):
|
||||||
helper.actKeyword(user, None, quitMessage, self.nickname, "QUT", self.name)
|
helper.actKeyword(user, None, quitMessage, self.nickname, "QUT", self.name)
|
||||||
|
|
||||||
def userKicked(self, kickee, channel, kicker, message):
|
def userKicked(self, kickee, channel, kicker, message):
|
||||||
|
nick, ident, host = self.parsen(kicker)
|
||||||
|
helper.setWhoSingle(self.name, nick, ident, host)
|
||||||
|
|
||||||
helper.actKeyword(kicker, channel, message, self.nickname, "KCK", self.name)
|
helper.actKeyword(kicker, channel, message, self.nickname, "KCK", self.name)
|
||||||
|
|
||||||
|
def userRenamed(self, oldname, newname):
|
||||||
|
nick, ident, host = self.parsen(oldname)
|
||||||
|
helper.setWhoSingle(self.name, nick, ident, host)
|
||||||
|
helper.setWhoSingle(self.name, newname, ident, host)
|
||||||
|
|
||||||
def topicUpdated(self, user, channel, newTopic):
|
def topicUpdated(self, user, channel, newTopic):
|
||||||
nick, ident, host = self.parsen(user)
|
nick, ident, host = self.parsen(user)
|
||||||
helper.setWhoSingle(self.name, nick, ident, host)
|
helper.setWhoSingle(self.name, nick, ident, host)
|
||||||
|
|
Loading…
Reference in New Issue