This handling block is important

This commit is contained in:
Firepup Sixfifty 2023-11-07 08:01:37 -06:00
parent 28d910c095
commit ebc98a7267
Signed by: Firepup650
GPG key ID: 7C92E2ABBBFAB9BA

7
bot.py
View file

@ -303,3 +303,10 @@ class bot:
)
self.msg(f"[QUOTE] {sel}", chan)
mm.close()
else:
if ircmsg.startswith("PING "):
ping(ircmsg)
elif ircmsg.startswith("ERROR :Closing Link"):
exit("I got killed :'(")
elif ircmsg.startswith("ERROR :Ping "):
exit("Ping timeout")