feat: terminal support plugins

This commit is contained in:
lanvent
2023-04-06 23:55:25 +08:00
parent 898aa30b1d
commit 484de6237b
5 changed files with 73 additions and 21 deletions

View File

@@ -194,7 +194,7 @@ class Godcmd(Plugin):
channel = e_context['channel']
user = e_context['context']['receiver']
session_id = e_context['context']['session_id']
isgroup = e_context['context']['isgroup']
isgroup = e_context['context'].get("isgroup", False)
bottype = Bridge().get_bot_type("chat")
bot = Bridge().get_bot("chat")
# 将命令和参数分割