Skip to content

Commit

Permalink
feat:添加青云客接口
Browse files Browse the repository at this point in the history
  • Loading branch information
haibaraguo committed Sep 2, 2021
1 parent 47aa621 commit 060e167
Show file tree
Hide file tree
Showing 5 changed files with 25,971 additions and 2 deletions.
6 changes: 4 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main
package main

import (
"fmt"
Expand All @@ -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仓库
Expand All @@ -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站用户信息
Expand Down Expand Up @@ -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{
Expand Down

0 comments on commit 060e167

Please sign in to comment.