恢复main

This commit is contained in:
fumiama 2021-06-06 14:27:53 +08:00
parent 5cc7c40417
commit a382dea51f

View File

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