Avoid spamming #firemc #6

Closed
9pfs wants to merge 14 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")
Firepup650 marked this conversation as resolved
Review

please remove this now

please remove this now
Review

That change was reverted by ab865d3dbb.

That change was reverted by ab865d3dbb.
else:
self.exit("Lost connection to the server")
self.log(f"Joined {self.server} successfully!")