Update keyword.py

This commit is contained in:
c3b2a 2021-02-18 14:41:58 +08:00 committed by GitHub
parent d474ea3b43
commit 9e1d26ca9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -406,6 +406,7 @@ async def send_reply(chat_id, trigger, mode, reply_msg, context):
" ".join(re_msg.split("\n")[0].split(" ")[1:])
]
await eval(f"aexec(args[0]{f', {args[1]}' if args[1] else ''})")
chdir(working_dir)
except:
pass
chat_id = real_chat_id