mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 13:57:10 +00:00
feat: serp tool
This commit is contained in:
parent
ed337275d5
commit
9c07b4fef7
4 changed files with 51 additions and 1 deletions
|
|
@ -56,6 +56,7 @@ import { SearchMusicTool } from '../utils/tools/SearchMusicTool.js'
|
|||
import { QueryStarRailTool } from '../utils/tools/QueryStarRailTool.js'
|
||||
import { WebsiteTool } from '../utils/tools/WebsiteTool.js'
|
||||
import {WeatherTool} from "../utils/tools/WeatherTool.js";
|
||||
import {SerpTool} from "../utils/tools/SerpTool.js";
|
||||
try {
|
||||
await import('emoji-strip')
|
||||
} catch (err) {
|
||||
|
|
@ -1940,7 +1941,8 @@ export class chatgpt extends plugin {
|
|||
new WebsiteTool(),
|
||||
new JinyanTool(),
|
||||
new KickOutTool(),
|
||||
new WeatherTool()
|
||||
new WeatherTool(),
|
||||
new SerpTool(),
|
||||
]
|
||||
// if (e.sender.role === 'admin' || e.sender.role === 'owner') {
|
||||
// tools.push(...[new JinyanTool(), new KickOutTool()])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue