dont-spam-firemc #7

Closed
9pfs wants to merge 15 commits from 9pfs/FireBot:dont-spam-firemc into master
Showing only changes of commit 913e2d7de8 - Show all commits

2
bot.py
View file

@ -115,6 +115,8 @@ class bot(bare.bot):
handlers.CTCP(self, ircmsg)
if "Closing link" in ircmsg:
self.exit("Closing Link")
if ircmsg.startswith(":FireMCBot!minecraft@fire.mc QUIT"):
self.send("TOPIC #firemc :FireMC Relay channel (offline)\n")
else:
self.exit("Lost connection to the server")
self.log(f"Joined {self.server} successfully!")