From 9684152def40792b34bf3c5f68bfa9f1ec0b0996 Mon Sep 17 00:00:00 2001 From: Firepup Sixfifty Date: Wed, 1 May 2024 15:41:32 -0500 Subject: [PATCH] Formatting --- handlers.py | 4 +++- timers.py | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/handlers.py b/handlers.py index d5d8bd3..3c07adc 100644 --- a/handlers.py +++ b/handlers.py @@ -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, } diff --git a/timers.py b/timers.py index 25a6afe..08075a9 100644 --- a/timers.py +++ b/timers.py @@ -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} }