文档请参考go-cqhttp,默认开启ZeroBot-Plugin,无需任何额外操作即可使用。
除与go-cqhttp一致的参数外,还可以附加任意个数的qq号作为主人SuperUser
,并使用-n
参数指定昵称,使用-p
参数指定指令前缀。
./gocqzbp [-D] [-c config.yml] [-d] [-faststart] [-h] [-l latency] [-m] [-n nickname] [-p prefix] [-r ringlen] [-update-protocol] [-w wd] [-x max process time] [key xxxx] qq1 qq2 qq3 ...
Options:
-D debug mode
-c string
configuration filename (default "config.yml")
-d running as a daemon
-faststart
skip waiting 5 seconds
-h this Help
-l uint
Response latency (ms). (default 233)
-m Don't mark message as read automatically
-n string
Set default nickname. (default "椛椛")
-p string
Set command prefix. (default "/")
-r uint
Receiving buffer ring size. (default 4096)
-update-protocol
update protocol
-w string
cover the working directory
-x uint
Max process time (min). (default 4)