This commit is contained in:
ycxom 2025-01-04 15:39:27 +08:00
parent 0c05297dbf
commit 30c3af1d41
2 changed files with 89 additions and 0 deletions

View file

@ -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)