Ignore server requests that we can't handle

This commit is contained in:
Firepup Sixfifty 2024-04-19 20:33:40 -05:00
parent 401b2b3d83
commit 58f67591ac
Signed by: Firepup650
GPG key ID: 7C92E2ABBBFAB9BA

View file

@ -173,6 +173,10 @@ def PART(bot: bare.bot, msg: str) -> tuple[None, None]:
return None, None
def NULL(bot: bare.bot, msg: str) -> tuple[None, None]:
return None, None
handles: dict[
str, Callable[[bare.bot, str], Union[tuple[None, None], tuple[str, str]]]
] = {
@ -180,4 +184,6 @@ handles: dict[
"NICK": NICK,
"KICK": KICK,
"PART": PART,
"MODE": NULL,
"TOPIC": NULL,
}