diff --git a/keyword.py b/keyword.py index 6ac2dd4..07decd4 100644 --- a/keyword.py +++ b/keyword.py @@ -101,6 +101,8 @@ async def send_reply(chat_id, reply_msg, context): re_msg = re_msg.replace(f"${k}", str(v)) if re_type == "plain": await bot.send_message(chat_id, re_msg) + elif re_type == "reply": + await bot.send_message(chat_id, re_msg, reply_to = context.id) elif re_type == "file" and len(re_msg.split()) >= 2: if not path.exists("/tmp"): mkdir("/tmp") re_data = re_msg.split() diff --git a/list.json b/list.json index e6960c7..55de896 100644 --- a/list.json +++ b/list.json @@ -362,10 +362,10 @@ }, { "name": "keyword", - "version": "1.6", + "version": "1.7", "section": "chat", "maintainer": "c3b2a", - "size": "15.4 kb", + "size": "15.5 kb", "supported": true, "des-short": "群组关键词自动回复插件", "des": "命令: keyword, replyset。"