feat(bym): 添加 DailyNewsTool 以获取每日新闻摘要

- 来源项目https://github.com/vikiboss/60s
This commit is contained in:
ycxom 2025-01-02 17:22:34 +08:00
parent 99edb60c82
commit db4cbaa6a7
3 changed files with 98 additions and 1 deletions

View file

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