feat:添加青云客接口

This commit is contained in:
haibaraguo
2021-09-02 09:48:18 +08:00
parent 47aa6213bf
commit 060e167dc7
5 changed files with 25971 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
package main
package main
import (
"fmt"
@@ -10,6 +10,7 @@ import (
// 词库类
_ "github.com/FloatTech/ZeroBot-Plugin/plugin_atri" // ATRI词库
_ "github.com/FloatTech/ZeroBot-Plugin/plugin_chat" // 基础词库
_ "github.com/FloatTech/ZeroBot-Plugin/plugin_qingyunke" //青云客
// 实用类
_ "github.com/FloatTech/ZeroBot-Plugin/plugin_github" // 搜索GitHub仓库
@@ -23,6 +24,7 @@ import (
_ "github.com/FloatTech/ZeroBot-Plugin/plugin_music" // 点歌
_ "github.com/FloatTech/ZeroBot-Plugin/plugin_omikuji" // 浅草寺求签
_ "github.com/FloatTech/ZeroBot-Plugin/plugin_shindan" // 测定
_ "github.com/FloatTech/ZeroBot-Plugin/plugin_personal" //个人私货
// b站相关
_ "github.com/FloatTech/ZeroBot-Plugin/plugin_bilibili" // 查询b站用户信息
@@ -74,7 +76,7 @@ func main() {
// SuperUsers 某些功能需要主人权限,可通过以下两种方式修改
// []string{}:通过代码写死的方式添加主人账号
// os.Args[1:]:通过命令行参数的方式添加主人账号
SuperUsers: append([]string{"12345678", "87654321"}, os.Args[1:]...),
SuperUsers: append([]string{"1156544355","1846515440","1776620359"}, os.Args[1:]...),
Driver: []zero.Driver{
&driver.WSClient{