forked from Firepup650/FireBot
...And I need to make it "self" calls
This commit is contained in:
parent
ebc98a7267
commit
2c7fbb601b
1 changed files with 3 additions and 3 deletions
6
bot.py
6
bot.py
|
@ -305,8 +305,8 @@ class bot:
|
||||||
mm.close()
|
mm.close()
|
||||||
else:
|
else:
|
||||||
if ircmsg.startswith("PING "):
|
if ircmsg.startswith("PING "):
|
||||||
ping(ircmsg)
|
self.ping(ircmsg)
|
||||||
elif ircmsg.startswith("ERROR :Closing Link"):
|
elif ircmsg.startswith("ERROR :Closing Link"):
|
||||||
exit("I got killed :'(")
|
self.exit("I got killed :'(")
|
||||||
elif ircmsg.startswith("ERROR :Ping "):
|
elif ircmsg.startswith("ERROR :Ping "):
|
||||||
exit("Ping timeout")
|
self.exit("Ping timeout")
|
||||||
|
|
Loading…
Reference in a new issue