File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ require (
1212 github.com/FloatTech/zbpctrl v1.6.0
1313 github.com/FloatTech/zbputils v1.7.1-0.20231017135158-7e6c839764eb
1414 github.com/disintegration/imaging v1.6.2
15- github.com/fumiama/NanoBot v0.0.0-20231122093311-e35fea59039a
15+ github.com/fumiama/NanoBot v0.0.0-20231122124546-e2acac137201
1616 github.com/fumiama/go-base16384 v1.7.0
1717 github.com/fumiama/go-registry v0.2.6
1818 github.com/fumiama/unibase2n v0.0.0-20221020155353-02876e777430
Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ github.com/ericpauley/go-quantize v0.0.0-20200331213906-ae555eb2afa4 h1:BBade+Jl
3838github.com/ericpauley/go-quantize v0.0.0-20200331213906-ae555eb2afa4 /go.mod h1:H7chHJglrhPPzetLdzBleF8d22WYOv7UM/lEKYiwlKM =
3939github.com/erikstmartin/go-testdb v0.0.0-20160219214506-8d10e4a1bae5 h1:Yzb9+7DPaBjB8zlTR87/ElzFsnQfuHnVUVqpZZIcV5Y =
4040github.com/erikstmartin/go-testdb v0.0.0-20160219214506-8d10e4a1bae5 /go.mod h1:a2zkGnVExMxdzMo3M0Hi/3sEU+cWnZpSni0O6/Yb/P0 =
41- github.com/fumiama/NanoBot v0.0.0-20231122093311-e35fea59039a h1:v3PzGUKUsMP6QLYiVD3h58jxFmhX+4gI5UBJCNDXKWk =
42- github.com/fumiama/NanoBot v0.0.0-20231122093311-e35fea59039a /go.mod h1:z9IDRRwntGIrnnxcwgjVge7lUa2GkGWFT7F1uYZbvh8 =
41+ github.com/fumiama/NanoBot v0.0.0-20231122124546-e2acac137201 h1:zp/c3r5rWbUHXm8dI8Gn2NTO7ItstWUU5ro2aiEiErU =
42+ github.com/fumiama/NanoBot v0.0.0-20231122124546-e2acac137201 /go.mod h1:z9IDRRwntGIrnnxcwgjVge7lUa2GkGWFT7F1uYZbvh8 =
4343github.com/fumiama/bigfft v0.0.0-20211011143303-6e0bfa3c836b h1:Zt3pFQditAdWTHCOVkiloc9ZauBoWrb37guFV4iIRvE =
4444github.com/fumiama/bigfft v0.0.0-20211011143303-6e0bfa3c836b /go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo =
4545github.com/fumiama/cron v1.3.0 h1:ZWlwuexF+HQHl3cYytEE5HNwD99q+3vNZF1GrEiXCFo =
Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ func main() {
6161 shardindex := flag .Uint ("shardindex" , 0 , "shard index" )
6262 shardcount := flag .Uint ("shardcount" , 0 , "shard count" )
6363 savecfg := flag .String ("save" , "" , "save bot config to filename (eg. config.yaml)" )
64+ superallqqusers := flag .Bool ("superallqq" , false , "make all QQ users to be SuperUser" )
6465 flag .Parse ()
6566 if * help {
6667 fmt .Println ("Usage:" )
@@ -80,6 +81,9 @@ func main() {
8081 }
8182
8283 sus := make ([]string , 0 , 16 )
84+ if * superallqqusers {
85+ sus = append (sus , nano .SuperUserAllQQUsers )
86+ }
8387 for _ , s := range flag .Args () {
8488 _ , err := strconv .ParseInt (s , 10 , 64 )
8589 if err != nil {
You can’t perform that action at this time.
0 commit comments