This commit is contained in:
Firepup Sixfifty 2023-11-06 16:04:46 -06:00
parent 3ac17f3a6e
commit 1993bcacc6
Signed by: Firepup650
GPG key ID: 7C92E2ABBBFAB9BA

4
bot.py
View file

@ -101,6 +101,10 @@ class bot:
if origin != "null":
sendmsg(f"{chan} is +i, and I'm not invited.", origin)
break
elif code == 520:
self.log(f"Joining {chan} failed (+O)", "WARN")
if origin != "null":
sendmsg(f"{chan} is +O, and I'm not an operator.", origin)
elif code == 366:
log(f"Joining {chan} succeeded", server)
if origin != "null":