try to fix
This commit is contained in:
parent
9f88283855
commit
b50a6aef00
1 changed files with 5 additions and 0 deletions
|
@ -172,6 +172,10 @@ def PART(bot: bare.bot, msg: str) -> tuple[None, None]:
|
||||||
bot.channels.pop(channel, None)
|
bot.channels.pop(channel, None)
|
||||||
return None, None
|
return None, None
|
||||||
|
|
||||||
|
def QUIT(bot: bare.bot, msg: str) -> tuple[None, None]:
|
||||||
|
if bot.server == "replirc":
|
||||||
|
if msg.split("!", 1)[0][1:] == "FireMCBot":
|
||||||
|
bot.send("TOPIC #firemc :FireMC Relay channel (offline)\n")
|
||||||
|
|
||||||
def NULL(bot: bare.bot, msg: str) -> tuple[None, None]:
|
def NULL(bot: bare.bot, msg: str) -> tuple[None, None]:
|
||||||
return None, None
|
return None, None
|
||||||
|
@ -186,4 +190,5 @@ handles: dict[
|
||||||
"PART": PART,
|
"PART": PART,
|
||||||
"MODE": NULL,
|
"MODE": NULL,
|
||||||
"TOPIC": NULL,
|
"TOPIC": NULL,
|
||||||
|
"QUIT": QUIT
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue