- Set server port and secret key in MessageQueue.py
vim MessageQueue.py
- Run Live Danmu mq server
python MessageQueue.py
- Set up qqbot
cp mqfeeder.py ~/.qqbot-tmp/plugins
qqbot -pl mqfeeder
- Build Dockerfile
docker build -t dmserver .
- Run docker
docker run -it -p 5000:5000 -p 5001:5001 --name dmserver dmserver
QR code is on 0.0.0.0:5001
MQ is on 0.0.0.0:5000
Server will start with a random secretKey.