Giter Site home page Giter Site logo

pcrjjc2's Introduction

pcrjjc2

本插件是pcrjjc重置版,不需要使用其他后端api,但是需要自行配置客户端

本项目基于AGPL v3协议开源

配置方法

  1. 克隆本仓库:

    git clone https://github.com/cc004/pcrjjc2.git
    
  2. 更改account.json内的account和password为你的bilibili账号的用户名和密码, admin为管理员的qq,用来接受bilibili验证码进行登录

  3. 机器人登录需要验证码时会将链接形式私聊发给admin,这时你需要点进链接正确验证,如果成功,将会出现如下的内容:
    validate=c721fe67f0196d7defad7245f6e58d62 seccode=c721fe67f0196d7defad7245f6e58d62|jordan
    此时,你需要将验证结果发给机器人,通过指令/pcrval c721fe67f0196d7defad7245f6e58d62即可完成验证(测试的时候似乎私聊没反应?私聊没反应的话就在群里发也可以,反正不泄露密码,大概率是程序没写好已修复 感谢 @assassingyk )

  4. account.json里面的platform和channel分别代表android和b服,emmm最好别改,改了我也不知道可不可以用

  5. 安装依赖:

    pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
    
  6. create_img.py文件中更改你所在的服务器名称

    # 设置服务器名称
    server_name = 'bilibili官方服务器'
    
  7. 台服请使用pcrjjc3-tw

    pcrjjc3-tw: 由pcrjjc2修改而来的台服竞技场查询插件,额外支持了多服查询 (github.com)

  8. 如果想推送全部排名变化(而不仅仅是上升排名变化),请切换到分支notice-all

    # 直接克隆仓库的notice-all分支
    git clone https://github.com/cc004/pcrjjc2.git -b notice-all
    
    # 或者在克隆本仓库后切换到notice-all分支
    git checkout notice-all
    

命令

关键词 说明
竞技场绑定 uid 绑定竞技场排名变动推送,默认双场均启用,仅排名降低时推送
竞技场查询 uid 查询竞技场简要信息(绑定后无需输入uid)
停止竞技场订阅 停止战斗竞技场排名变动推送
停止公主竞技场订阅 停止公主竞技场排名变动推送
启用竞技场订阅 启用战斗竞技场排名变动推送
启用公主竞技场订阅 启用公主竞技场排名变动推送
竞技场历史 查询战斗竞技场变化记录(战斗竞技场订阅开启有效,可保留10条)
公主竞技场历史 查询公主竞技场变化记录(公主竞技场订阅开启有效,可保留10条)
删除竞技场订阅 删除竞技场排名变动推送绑定
竞技场订阅状态 查看排名变动推送绑定状态
详细查询 uid 查询账号详细状态(绑定后无需输入uid)
查询群数 查询bot所在群的数目
查询竞技场订阅数 查询绑定账号的总数量
查询头像框 查看自己设置的详细查询里的角色头像框
更换头像框 更换详细查询生成的头像框,默认彩色
清空竞技场订阅 清空所有绑定的账号(仅限主人)

更新日志

2022-03-27:新增自定义头像框功能

2022-03-26:竞技场历史记录查询 #74

2022-02-21:详细查询整合为两张精美图片,分别为个人资料卡图片以及支援界面图片

图片预览

FQ~} OTM$L20L6DAEI~RN`K

4@{%Z%591B` YE1%}H0E7@1

pcrjjc2's People

Contributors

cc004 avatar cydxdianxian avatar girlkiller512 avatar 666dechaoge avatar lulu666lulu avatar cca2878 avatar assassingyk avatar sdyxxjj123 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.