mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-03-03 00:40:45 +08:00
feat: terminal support plugins
This commit is contained in:
@@ -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")
|
||||
# 将命令和参数分割
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
{
|
||||
"repo": {
|
||||
"sdwebui": {
|
||||
"url": "https://github.com/lanvent/plugin_sdwebui.git"
|
||||
"url": "https://github.com/lanvent/plugin_sdwebui.git",
|
||||
"desc": "利用stable-diffusion画图的插件"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user