Skip to main content

maimaidx plugin for nonebot2

Project description

nonebot-plugin-maimaidx

license python

重要更新

安装

  1. 安装 nonebot-plugin-maimaidx

    • 使用 nb-cli 安装
      nb plugin install nonebot-plugin-maimaidx
      
    • 使用 pip 安装
      pip install nonebot-plugin-maimaidx
      
    • 使用源代码(不推荐) 需自行安装额外依赖
      git clone https://github.com/Yuri-YuzuChaN/nonebot-plugin-maimaidx
      
  2. 安装 PhantomJS,前往 https://phantomjs.org/download.html 下载对应平台支持

[!WARNING] 未配置 PhantomJS 支持的Bot,在使用 ginfo 指令时会被强制关闭 Bot 进程

配置

  1. 下载静态资源文件,将该压缩文件解压,且解压完为文件夹 static

  2. .env 文件中配置静态文件绝对路径 MAIMAIDXPATH

    MAIMAIDXPATH=path.to.static
    
    # 例如 windows 平台,非 "管理员模式" 运行Bot尽量避免存放在C盘
    MAIMAIDXPATH=D:\bot\static
    # 例如 linux 平台
    MAIMAIDXPATH=/root/static
    
  3. .env 文件夹中配置 MAIMAIDXTOKEN

    # 如果没有 `diving-fish 查分器` 的开发者 `Token`,请直接留空
    MAIMAIDXTOKEN=
    # 如果有请填入 `Token`
    MAIMAIDXTOKEN=MAIMAITOKEN
    

[!NOTE] 安装完插件需要使用定数表或完成表指令时,需私聊Bot使用 更新定数表更新完成表 进行生成

[!NOTE] 插件带有别名更新推送功能,如果不需要请私聊Bot使用 全局关闭别名推送 指令关闭所有群组推送

指令

img

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_maimaidx-1.0.14.tar.gz (1.0 MB view details)

Uploaded Source

Built Distribution

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

nonebot_plugin_maimaidx-1.0.14-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_maimaidx-1.0.14.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_maimaidx-1.0.14.tar.gz
Algorithm Hash digest
SHA256 d4b8d08090e5936c580062250c64af52f6a3f30d9b3d6749b0a77a3458e16f2a
MD5 b2133e2bfed015f0af8d213f662b74a6
BLAKE2b-256 89d2ac11e2528d6cf8df8345dd700ef489d866ac339eaf1df9dd6d1dac9cb9f4

See more details on using hashes here.

File details

Details for the file nonebot_plugin_maimaidx-1.0.14-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_maimaidx-1.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 3dbfaecc6f6b4c868a368eda015b09ca29f145778edd352c62392c2e510b1664
MD5 ca8d03d57c0f1c7cf07a392e6a4f24cc
BLAKE2b-256 379c01ab092be5455c712a4b0c4228abb8688cfc459d4ff3e9f7cd31588aa4ce

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