diff --git a/README.md b/README.md index 5ac0111..4fcee64 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,8 @@ - [x] 网易云评论 (netease) - [x] 点歌 (music) - [x] 随机\随机数 (random) +- [x] 漂流瓶 (bottle) +- [x] 戳一戳 (poke) ### 原神相关 - [x] 今日可肝素材查询 (genshin_resource) @@ -53,9 +55,10 @@ - [x] 搜梗 (geng) - [x] 识图搜番 (whatanime) - [x] 疫情查询 (COVID) -- [x] 混合表情 (emoji_mix) - [x] 短链接还原 (short_url) -- [ ] ~~短链接生成~~(防止滥用,暂不提供) +- [x] 天气 (weather) +- [x] GitHub查询 (github) +- [x] 混合表情 (emoji_mix) ### 群功能 - [x] 群管理:快捷禁言/踢人 (admin) @@ -73,6 +76,13 @@ - [x] Pixiv排行榜 (pixiv_rank) - [x] Pixiv搜索 (pixiv_query) - [ ] coser +- [ ] 自定义图库 + +### 可选插件 + +若想启用这些插件,请自行下载源码取消掉cmd/main.go内的可选插件注释,[**自行编译**](#编译) + +- [x] OSU查询 (HiOSU) diff --git a/cmd/main.go b/cmd/main.go index 4824377..97c723d 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -8,6 +8,9 @@ import ( zero "github.com/wdvxdr1123/ZeroBot" "github.com/wdvxdr1123/ZeroBot/driver" + // 可选插件,若要启用,去除注释即可 + // _ "github.com/RicheyJang/PaimengBot/plugins/HiOSU" + // 基本插件,建议不要删除,可能会造成依赖问题 _ "github.com/RicheyJang/PaimengBot/basic/auth" _ "github.com/RicheyJang/PaimengBot/basic/ban" @@ -20,7 +23,6 @@ import ( // 普通插件 _ "github.com/RicheyJang/PaimengBot/plugins/COVID" - _ "github.com/RicheyJang/PaimengBot/plugins/HiOSU" _ "github.com/RicheyJang/PaimengBot/plugins/admin" _ "github.com/RicheyJang/PaimengBot/plugins/bilibili" _ "github.com/RicheyJang/PaimengBot/plugins/bottle" diff --git a/plugins/github/init.go b/plugins/github/init.go index 7d78e4e..9cd25fa 100644 --- a/plugins/github/init.go +++ b/plugins/github/init.go @@ -22,7 +22,7 @@ var info = manager.PluginInfo{ github RicheyJang/PaimengBot`, SuperUsage: `config-plugin配置项: github.maxresult:一次性最多返回多少个仓库信息`, - Classify: "一般功能", + Classify: "实用工具", } func init() {