mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 13:57:10 +00:00
fix: BUG
This commit is contained in:
parent
0c05297dbf
commit
30c3af1d41
2 changed files with 89 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ import { SerpTool } from '../utils/tools/SerpTool.js'
|
|||
import { initializeImageTool } from '../utils/tools/ImageTool.js'
|
||||
import { DailyNewsTool } from '../utils/tools/DailyNewsTool.js'
|
||||
import { SendMessageToSpecificGroupOrUserTool } from '../utils/tools/SendMessageToSpecificGroupOrUserTool.js'
|
||||
import { SystemCommandTool } from '../utils/tools/SystemCommandTool.js'
|
||||
|
||||
const DefaultConfig = {
|
||||
returnQQ: [],
|
||||
|
|
@ -322,6 +323,8 @@ export class bym extends plugin {
|
|||
tools.push(new SetTitleTool())
|
||||
}
|
||||
|
||||
// 你没见过bot能控制系统吗(
|
||||
tools.push(new SystemCommandTool())
|
||||
const imageTool = await initializeImageTool(e, previousRole, bymGo)
|
||||
if (Config.AutoToDownImg) {
|
||||
tools.push(imageTool)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue