/BfbanCommonRobot

A QQ robot based on Ariadne for the battlefield anti-cheat website BFBAN. 一款基于 Ariadne 的QQ机器人,用于Battlefield 系列游戏反作弊网站 BFBAN.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

BfbanCommonRobot

A QQ robot based on Ariadne for the battlefield anti-cheat website BFBAN.

一款基于 Ariadne 的QQ机器人,用于Battlefield 系列游戏反作弊网站 BFBAN.

Python Version of requirement: Python Version

本项目以 GPLv3 作为开源协议, 这意味着你需要遵守相应的规则.

安装与运行

  1. git clone https://github.com/KitaProject/BfbanCommonRobot.git 或 Download ZIP

  2. pip3 install -r ./requirements.txtpoetry install

  3. 安装并配置 Mirai

  4. 编辑 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"
}
  1. python3 main.py