diff --git a/bot.py b/bot.py index 9c8f6f0..1e0fa5e 100644 --- a/bot.py +++ b/bot.py @@ -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!")