https://github.com/floattech/gocqzbp
go-cqhttp与ZeroBot-Plugin的合体
https://github.com/floattech/gocqzbp
Last synced: 10 months ago
JSON representation
go-cqhttp与ZeroBot-Plugin的合体
- Host: GitHub
- URL: https://github.com/floattech/gocqzbp
- Owner: FloatTech
- License: agpl-3.0
- Created: 2021-12-07T14:58:04.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-08-31T14:04:37.000Z (over 2 years ago)
- Last Synced: 2025-03-31T04:08:08.108Z (10 months ago)
- Language: Go
- Size: 169 KB
- Stars: 199
- Watchers: 6
- Forks: 158
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gocqzbp
_✨ 基于 [Mirai](https://github.com/mamoe/mirai) 以及 [MiraiGo](https://github.com/Mrs4s/MiraiGo) 的 [OneBot](https://github.com/howmanybots/onebot/blob/master/README.md) Golang 原生实现 ✨_
_✨ 同时融合了[ZeroBot-Plugin](https://github.com/FloatTech/ZeroBot-Plugin) ✨_

## 说明
文档请参考[go-cqhttp](https://github.com/Mrs4s/go-cqhttp),默认开启[ZeroBot-Plugin](https://github.com/FloatTech/ZeroBot-Plugin),无需任何额外操作即可使用。
## 命令行参数
除与[go-cqhttp](https://github.com/Mrs4s/go-cqhttp)一致的参数外,还可以附加任意个数的qq号作为主人`SuperUser`,并使用`-n`参数指定昵称,使用`-p`参数指定指令前缀。
```bash
./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)
```