forked from Firepup650/FireBot
Avoid spamming #firemc
This commit is contained in:
parent
2339db32d3
commit
913e2d7de8
1 changed files with 2 additions and 0 deletions
2
bot.py
2
bot.py
|
@ -115,6 +115,8 @@ class bot(bare.bot):
|
||||||
handlers.CTCP(self, ircmsg)
|
handlers.CTCP(self, ircmsg)
|
||||||
if "Closing link" in ircmsg:
|
if "Closing link" in ircmsg:
|
||||||
self.exit("Closing Link")
|
self.exit("Closing Link")
|
||||||
|
if ircmsg.startswith(":FireMCBot!minecraft@fire.mc QUIT"):
|
||||||
|
self.send("TOPIC #firemc :FireMC Relay channel (offline)\n")
|
||||||
else:
|
else:
|
||||||
self.exit("Lost connection to the server")
|
self.exit("Lost connection to the server")
|
||||||
self.log(f"Joined {self.server} successfully!")
|
self.log(f"Joined {self.server} successfully!")
|
||||||
|
|
Loading…
Reference in a new issue