mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 13:57:10 +00:00
feat: 搜图和发图
This commit is contained in:
parent
8d13145d2f
commit
5ccefa6fa6
3 changed files with 60 additions and 18 deletions
|
|
@ -58,6 +58,8 @@ import { WebsiteTool } from '../utils/tools/WebsiteTool.js'
|
|||
import { WeatherTool } from '../utils/tools/WeatherTool.js'
|
||||
import { SerpTool } from '../utils/tools/SerpTool.js'
|
||||
import { SerpIkechan8370Tool } from '../utils/tools/SerpIkechan8370Tool.js'
|
||||
import {SendPictureTool} from "../utils/tools/SendPictureTool.js";
|
||||
import {SerpImageTool} from "../utils/tools/SearchImageTool.js";
|
||||
try {
|
||||
await import('emoji-strip')
|
||||
} catch (err) {
|
||||
|
|
@ -1963,6 +1965,8 @@ export class chatgpt extends plugin {
|
|||
new JinyanTool(),
|
||||
new KickOutTool(),
|
||||
new WeatherTool(),
|
||||
new SendPictureTool(),
|
||||
new SerpImageTool(),
|
||||
serpTool
|
||||
]
|
||||
// if (e.sender.role === 'admin' || e.sender.role === 'owner') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue