Skip to content

Commit

Permalink
fix #17: 通过代码写死的方式添加主人账号的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama authored Aug 3, 2022
1 parent 5f5962f commit 8fc4e9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ func init() {
NickName: append([]string{*adana}, nicks...),
CommandPrefix: *prefix,
// SuperUsers 某些功能需要主人权限,可通过以下两种方式修改
// SuperUsers: []string{"12345678", "87654321"}, // 通过代码写死的方式添加主人账号
// SuperUsers: []int64{12345678, 87654321}, // 通过代码写死的方式添加主人账号
SuperUsers: qqs, // 通过命令行参数的方式添加主人账号
Driver: []zero.Driver{f},
},
Expand Down

0 comments on commit 8fc4e9b

Please sign in to comment.