diff --git a/ica-rs/plugins/base.py b/ica-rs/plugins/base.py index 7258a86..dc811a5 100644 --- a/ica-rs/plugins/base.py +++ b/ica-rs/plugins/base.py @@ -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)