Formatting

This commit is contained in:
Firepup Sixfifty 2024-05-01 15:41:32 -05:00
parent 23dfa854ac
commit 9684152def
Signed by: Firepup650
GPG key ID: 7C92E2ABBBFAB9BA
2 changed files with 4 additions and 1 deletions

View file

@ -172,6 +172,7 @@ def PART(bot: bare.bot, msg: str) -> tuple[None, None]:
bot.channels.pop(channel, None)
return None, None
def QUIT(bot: bare.bot, msg: str) -> tuple[None, None]:
if bot.server == "replirc":
quitter = msg.split("!", 1)[0][1:]
@ -179,6 +180,7 @@ def QUIT(bot: bare.bot, msg: str) -> tuple[None, None]:
bot.send("TOPIC #firemc :FireMC Relay channel (offline)\n")
return None, None
def NULL(bot: bare.bot, msg: str) -> tuple[None, None]:
return None, None
@ -192,5 +194,5 @@ handles: dict[
"PART": PART,
"MODE": NULL,
"TOPIC": NULL,
"QUIT": QUIT
"QUIT": QUIT,
}

View file

@ -112,6 +112,7 @@ def radio(instance: bare.bot) -> NoReturn:
instance.log("Thread while loop broken", "FATAL")
exit(1)
data: dict[str, dict[str, Any]] = {
"radio": {"noWrap": True, "func": radio, "passInstance": True}
}