forked from Firepup650/FireBot
Ignore server requests that we can't handle
This commit is contained in:
parent
401b2b3d83
commit
58f67591ac
1 changed files with 6 additions and 0 deletions
|
@ -173,6 +173,10 @@ def PART(bot: bare.bot, msg: str) -> tuple[None, None]:
|
||||||
return None, None
|
return None, None
|
||||||
|
|
||||||
|
|
||||||
|
def NULL(bot: bare.bot, msg: str) -> tuple[None, None]:
|
||||||
|
return None, None
|
||||||
|
|
||||||
|
|
||||||
handles: dict[
|
handles: dict[
|
||||||
str, Callable[[bare.bot, str], Union[tuple[None, None], tuple[str, str]]]
|
str, Callable[[bare.bot, str], Union[tuple[None, None], tuple[str, str]]]
|
||||||
] = {
|
] = {
|
||||||
|
@ -180,4 +184,6 @@ handles: dict[
|
||||||
"NICK": NICK,
|
"NICK": NICK,
|
||||||
"KICK": KICK,
|
"KICK": KICK,
|
||||||
"PART": PART,
|
"PART": PART,
|
||||||
|
"MODE": NULL,
|
||||||
|
"TOPIC": NULL,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue