mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 13:57:10 +00:00
feat(bym): 添加 DailyNewsTool 以获取每日新闻摘要
- 来源项目https://github.com/vikiboss/60s
This commit is contained in:
parent
99edb60c82
commit
db4cbaa6a7
3 changed files with 98 additions and 1 deletions
|
|
@ -18,6 +18,7 @@ import { KickOutTool } from '../utils/tools/KickOutTool.js'
|
|||
import { SetTitleTool } from '../utils/tools/SetTitleTool.js'
|
||||
import { SerpTool } from '../utils/tools/SerpTool.js'
|
||||
import { initializeImageTool } from '../utils/tools/ImageTool.js'
|
||||
import { DailyNewsTool } from '../utils/tools/DailyNewsTool.js'
|
||||
|
||||
const DefaultConfig = {
|
||||
returnQQ: [],
|
||||
|
|
@ -303,7 +304,8 @@ export class bym extends plugin {
|
|||
new SendMusicTool(),
|
||||
new SendPictureTool(),
|
||||
new WebsiteTool(),
|
||||
new WeatherTool()
|
||||
new WeatherTool(),
|
||||
new DailyNewsTool()
|
||||
]
|
||||
if (Config.azSerpKey) {
|
||||
tools.push(new SerpTool())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue