A QQ robot based on Ariadne for the battlefield anti-cheat website BFBAN.
一款基于 Ariadne 的QQ机器人,用于Battlefield 系列游戏反作弊网站 BFBAN.
Python Version of requirement:
本项目以 GPLv3
作为开源协议, 这意味着你需要遵守相应的规则.
-
git clone https://github.com/KitaProject/BfbanCommonRobot.git
或 Download ZIP -
pip3 install -r ./requirements.txt
或poetry install
-
安装并配置 Mirai
-
编辑 configs/config.json
{
"account": {
"qq_id": 54321,
"admin_qq_ids": [
12345
],
"verifyKey": "Mirai-Api-Http秘钥",
"mirai_host": "Mirai-Api-Http监听地址"
},
"plugins": {
"server_list": {
"data_source_host": ""
},
"bfban": {
"bfban_host": "https://bfban.com",
"date_source_host": "数据源地址",
"captcha_host": "验证码图床",
"captcha_host_auth": "图床Token",
"bfban_token": "BFBAN账号Token(暂未实现)",
"image_host_auth": "sm.ms图床AuthToken"
}
},
"version": "0.1.2-dev"
}
python3 main.py