更新一下内置插件
This commit is contained in:
parent
2d47285b76
commit
8c72732671
@ -9,7 +9,7 @@ else:
|
|||||||
_version_ = "1.0.0"
|
_version_ = "1.0.0"
|
||||||
|
|
||||||
def on_message(msg: NewMessage, client: IcaClient) -> None:
|
def on_message(msg: NewMessage, client: IcaClient) -> None:
|
||||||
if not msg.is_from_self:
|
if not (msg.is_from_self or msg.is_reply):
|
||||||
if msg.content == "/bot-rs-py":
|
if msg.content == "/bot":
|
||||||
reply = msg.reply_with(f"ica-async-rs-sync-py {_version_}")
|
reply = msg.reply_with(f"ica-async-rs-sync-py {_version_}")
|
||||||
client.send_message(reply)
|
client.send_message(reply)
|
||||||
|
Loading…
Reference in New Issue
Block a user