恢复main

This commit is contained in:
fumiama 2021-06-06 14:27:53 +08:00
parent 42b62f0463
commit 8a46eed299

View File

@ -27,8 +27,8 @@ import (
_ "github.com/Yiwen-Chan/ZeroBot-Plugin/picsearcher" // 搜图
_ "github.com/Yiwen-Chan/ZeroBot-Plugin/randimg" //简易随机图片
//_ "github.com/Yiwen-Chan/ZeroBot-Plugin/setutime" // 涩图
_ "github.com/Yiwen-Chan/ZeroBot-Plugin/shindan" // 测定
_ "github.com/Yiwen-Chan/ZeroBot-Plugin/setutime" // 涩图
_ "github.com/Yiwen-Chan/ZeroBot-Plugin/shindan" // 测定
)
func init() {
@ -53,7 +53,7 @@ func main() {
CommandPrefix: "/",
SuperUsers: os.Args[1:], // 必须修改,否则无权限
Driver: []zero.Driver{
driver.NewWebSocketClient("ws://192.168.8.1:6700/", ""),
driver.NewWebSocketClient("ws://127.0.0.1:6700/", ""),
},
})
// 帮助