Sign inSign up

mzzsfy/node-onebot

By mzzsfy

•Updated over 1 year ago

自用onebot协议打包,全环境变量,无需进控制台,扫码即可,自动验证

Image
5

10K+

mzzsfy/node-onebot repository overview

⁠已经无法使用,停止更新

docker run \
    -itd \
    --name node-onebot\
    --restart always \
    -e QQ_Number=xxx \
    -e QQ_Password
    -e platform=xxx \
    -e post_url=xxx \
    -e ws_reverse_url=xxx,xxx \
    -e token=xxx \
    -e waitTime=30 \
    -e post_url=xxx,xxx \
    mzzsfy/node-onebot:latest

除了 QQ_Number 必填 其他环境变量可选

使用QQ_Password 时请确保有 -it 选项,否则可能出现预期之外的错误

具体每个配置有什么作用请看 官方文档⁠

waitTime 是自动回车等待时长,默认25秒

eg:

# token后的内容自己修改,不要使用默认值
docker run \
    -itd \
    --name node-onebot\
    --restart always \
    -e QQ_Number=QQ号 \
    -e ws_reverse_url=ws://傻妞ip:傻妞端口/qq/receive \
    -e token='abc666=+'  \ 
    mzzsfy/node-onebot:latest

Tag summary

Content type

Image

Digest

sha256:8d81195bc…

Size

55.8 MB

Last updated

over 1 year ago

docker pull mzzsfy/node-onebot