Skip to content

Commit

Permalink
Update main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
wuyou5204 authored Mar 13, 2024
1 parent ece68da commit 7ba5389
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ func init() {
// 直接写死 URL 时,请更改下面第二个参数
url := flag.String("u", "ws://127.0.0.1:6700", "Set Url of WSClient.")
// 默认昵称
adana := flag.String("n", "椛椛", "Set default nickname.")
adana := flag.String("n", "无忧", "Set default nickname.")
prefix := flag.String("p", "/", "Set command prefix.")
runcfg := flag.String("c", "", "Run from config file.")
save := flag.String("s", "", "Save default config to file and exit.")
Expand Down Expand Up @@ -258,8 +258,8 @@ func init() {
}

// 通过代码写死的方式添加主人账号
// sus = append(sus, 12345678)
// sus = append(sus, 87654321)
// sus = append(sus, 1643622812)


// 启用 webui
// go webctrl.RunGui(*g)
Expand Down Expand Up @@ -287,7 +287,7 @@ func init() {
}
config.W = []*driver.WSClient{driver.NewWebSocketClient(*url, *token)}
config.Z = zero.Config{
NickName: append([]string{*adana}, "ATRI", "atri", "亚托莉", "アトリ"),
NickName: append([]string{*adana}, "ATRI", "atri", "无忧宝宝", "无忧宝"),
CommandPrefix: *prefix,
SuperUsers: sus,
RingLen: *rsz,
Expand Down

0 comments on commit 7ba5389

Please sign in to comment.