mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-25 07:46:33 +00:00
parent
45f6b0d8c8
commit
657c5e0f37
@ -101,6 +101,8 @@ async def send_reply(chat_id, reply_msg, context):
|
|||||||
re_msg = re_msg.replace(f"${k}", str(v))
|
re_msg = re_msg.replace(f"${k}", str(v))
|
||||||
if re_type == "plain":
|
if re_type == "plain":
|
||||||
await bot.send_message(chat_id, re_msg)
|
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:
|
elif re_type == "file" and len(re_msg.split()) >= 2:
|
||||||
if not path.exists("/tmp"): mkdir("/tmp")
|
if not path.exists("/tmp"): mkdir("/tmp")
|
||||||
re_data = re_msg.split()
|
re_data = re_msg.split()
|
||||||
|
@ -362,10 +362,10 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "keyword",
|
"name": "keyword",
|
||||||
"version": "1.6",
|
"version": "1.7",
|
||||||
"section": "chat",
|
"section": "chat",
|
||||||
"maintainer": "c3b2a",
|
"maintainer": "c3b2a",
|
||||||
"size": "15.4 kb",
|
"size": "15.5 kb",
|
||||||
"supported": true,
|
"supported": true,
|
||||||
"des-short": "群组关键词自动回复插件",
|
"des-short": "群组关键词自动回复插件",
|
||||||
"des": "命令: keyword, replyset。"
|
"des": "命令: keyword, replyset。"
|
||||||
|
Loading…
Reference in New Issue
Block a user