This commit is contained in:
shenjack 2024-02-22 19:10:15 +08:00
parent f1abfd4f9d
commit e2f619e97f
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -6,7 +6,7 @@ else:
NewMessage = TypeVar("NewMessage") NewMessage = TypeVar("NewMessage")
IcaClient = TypeVar("IcaClient") IcaClient = TypeVar("IcaClient")
_version_ = "1.0.0" _version_ = "1.1.0"
def on_message(msg: NewMessage, client: IcaClient) -> None: def on_message(msg: NewMessage, client: IcaClient) -> None:
if not (msg.is_from_self or msg.is_reply): if not (msg.is_from_self or msg.is_reply):