更新一下内置插件

This commit is contained in:
shenjack 2024-02-22 14:38:37 +08:00
parent 2d47285b76
commit 8c72732671
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -9,7 +9,7 @@ else:
_version_ = "1.0.0"
def on_message(msg: NewMessage, client: IcaClient) -> None:
if not msg.is_from_self:
if msg.content == "/bot-rs-py":
if not (msg.is_from_self or msg.is_reply):
if msg.content == "/bot":
reply = msg.reply_with(f"ica-async-rs-sync-py {_version_}")
client.send_message(reply)