Skip to main content

pcrjjc排名监测插件

Project description

nonebot-plugin-pcrjjc

介绍

  • 基于pcrjjc_huannai的代码基础上进行重构
  • 可独立作为nonebot2插件使用,不依赖于HoshinoBot

安装和更新

使用nb-cli安装与更新

在 nonebot2 项目的根目录下打开命令行,执行

nb plugin install nonebot-plugin-pcrjjc --upgrade
使用pip安装和更新

在 nonebot2 项目的根目录下打开命令行,进入nonebot2项目虚拟环境,执行

pip install --upgrade nonebot-plugin-pcrjjc

并在项目根目录下的pyproject.toml文件, 在[tool.nonebot]部分追加写入

plugins = ["nonebot_plugin_pcrjjc"]

具体指令如下

竞技场帮助指令

配置项

在nonebot2项目中的.env开头的文件添加下表配置项,其中非必填项可不填

配置项 类型 是否必填 默认值 说明
SUPERUSERS list[str] True 超级用户QQ号,示例:["114514"]
PCRJJC_GROUP str False None 当私聊不可用时,使用指定群聊推送要私聊的消息
OTTO bool False True 是否自动过验证码(不建议修改)
MAX_PRI int False 0 最大私聊人数
MAX_PCRID int False 8 每人绑定的最大数量
MAX_HISTORY int False 50 单人最多历史记录
NOTICE_CD_MIN int False 10 上线提醒时间间隔(单位:分)
REFRESH_SECOND int False 3 排名刷新频率(单位:秒)
PCRJJC_ACCOUNTS list True "" 登录账号(模板如下)
FONT_DOWNLOAD_URL str False 默认字体下载地址

登录账号(即PCR_ACCOUNTS)模板

PCRJJC_ACCOUNTS='[
    {
     "account": "account1",
     "password": "password"
    },
    {
     "account": "account2",
     "password": "password"
    }
]'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_pcrjjc-0.8.1.tar.gz (35.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_pcrjjc-0.8.1-py3-none-any.whl (36.4 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_pcrjjc-0.8.1.tar.gz.

File metadata

  • Download URL: nonebot_plugin_pcrjjc-0.8.1.tar.gz
  • Upload date:
  • Size: 35.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for nonebot_plugin_pcrjjc-0.8.1.tar.gz
Algorithm Hash digest
SHA256 387ba1b3d12e74b3fb431e9663056589b44209a8a11d630640758b9b74313792
MD5 5984fb3f7a3c74bd061f82c9af93ddbd
BLAKE2b-256 64822fad7f125731ef0b4e5f0f48bf36c1522f5960cd7ff73e7ca330e4cabbf8

See more details on using hashes here.

File details

Details for the file nonebot_plugin_pcrjjc-0.8.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_pcrjjc-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b8c0eb40c6254a8dfd65149161fc7e83321aede0bb2ca6bc3ecb2916204f88a4
MD5 d2bf08773d71dc887f9a0a294d99bff9
BLAKE2b-256 5de093fa2e2c27cdc44c0af5c347eea106f10cfc46108b7f168af4844cb803a3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page