Avoid spamming #firemc #6
1 changed files with 1 additions and 0 deletions
|
@ -176,6 +176,7 @@ 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")
|
||||
Firepup650 marked this conversation as resolved
|
||||
return None, None
|
||||
|
||||
def NULL(bot: bare.bot, msg: str) -> tuple[None, None]:
|
||||
return None, None
|
||||
|
|
Loading…
Reference in a new issue
Last line of the function MUST be
return None, None
, it'll crash otherwise.Fixing