...And I need to make it "self" calls

This commit is contained in:
Firepup Sixfifty 2023-11-07 08:02:05 -06:00
parent ebc98a7267
commit 2c7fbb601b
Signed by: Firepup650
GPG key ID: 7C92E2ABBBFAB9BA

6
bot.py
View file

@ -305,8 +305,8 @@ class bot:
mm.close()
else:
if ircmsg.startswith("PING "):
ping(ircmsg)
self.ping(ircmsg)
elif ircmsg.startswith("ERROR :Closing Link"):
exit("I got killed :'(")
self.exit("I got killed :'(")
elif ircmsg.startswith("ERROR :Ping "):
exit("Ping timeout")
self.exit("Ping timeout")