We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be7e813 commit 2f63253Copy full SHA for 2f63253
main.go
@@ -207,7 +207,7 @@ func main() {
207
Handle(func(ctx *zero.Ctx) {
208
ctx.SendChain(message.Text(kanban.Kanban()))
209
})
210
- zero.Run(
+ zero.RunAndBlock(
211
zero.Config{
212
NickName: append([]string{*adana}, nicks...),
213
CommandPrefix: *prefix,
@@ -216,7 +216,6 @@ func main() {
216
SuperUsers: flag.Args(), // 通过命令行参数的方式添加主人账号
217
Driver: []zero.Driver{driver.NewWebSocketClient(*url, *token)},
218
},
219
+ process.GlobalInitMutex.Unlock,
220
)
- process.GlobalInitMutex.Unlock()
221
- select {}
222
}
0 commit comments