Skip to main content

nonebot

NoneBot Plugin Arkgacha

✨ 明日方舟抽卡模拟器 ✨

license pypi python

该插件提供了模拟明日方舟抽卡的功能,包括无头形式的抽卡模拟与模拟十连

通过使用 plugin-alconna 插件适配多平台

安装

$ pip install nonebot-plugin-arkgacha
$ nb plugin install nonebot-plugin-arkgacha

在使用该插件之前,需要先初始化资源

命令行输入:

nb arkgacha init

或

arkkit init -SIMG

配置

  • ARKGACHA_PROXY: 代理配置,默认为空
  • ARKGACHA_POOL_FILE: 抽卡池文件路径, 不填则使用 localstore 保存抽卡池
  • ARKGACHA_MAX: 抽卡最大次数, 默认为 300
  • ARKGACHA_PURE_TEXT: 是否使用纯文本, 默认为 False (十连模拟必须使用图片)
  • ARKGACHA_AUTO_UPDATE: 是否自动更新,默认为 True
  • ARKGACHA_REPLY_SENDER: 是否回复发送者,默认为 False

注意事项

  1. 方舟抽卡 不需要图片资源, 可在不经过 nb arkgacha init 或 arkkit init 的情况下使用
  2. 方舟十连 需要图片资源, 需要先在命令行中执行 nb arkgacha init 或 arkkit init -SIMG 初始化资源,否则会出现错误
  3. 若配置,每天 16 点将自动更新卡池资源
  4. 如果获取资源时出现网络错误,请检查代理设置,或尝试访问 PRTS

使用方法

指令如下:

方舟抽卡

方舟抽卡 200

方舟十连

方舟卡池更新

效果

方舟十连

res

Metadata

Release files for nonebot-plugin-arkgacha 0.8.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nonebot-plugin-arkgacha 0.8.2
File Size Uploaded Provenance
nonebot_plugin_arkgacha-0.8.2.tar.gz 17.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-arkgacha 0.8.2
File Interpreter ABI Platform
nonebot_plugin_arkgacha-0.8.2-py3-none-any.whl Python 3 none any Details

Total release size: 36.8 kB

Release files / nonebot_plugin_arkgacha-0.8.2.tar.gz

Download URL nonebot_plugin_arkgacha-0.8.2.tar.gz
Size 17.8 kB
Tags Source
SHA-256 checksum
How to use checksums
eed8095e0d3a75ec668f24bf16ea7b67986b23993c925481fefb3c26be6ccec7
BLAKE2b-256 checksum
How to use checksums
b0d75d35c6d5a50362a7d0ea928861a42d8dac160c14b8346b5d8703aeb10a24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.19.1 CPython/3.9.13 Windows/10

Release files / nonebot_plugin_arkgacha-0.8.2-py3-none-any.whl

Download URL nonebot_plugin_arkgacha-0.8.2-py3-none-any.whl
Size 19.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0293f3085eaca11c385a189e6a827e8de2cb89c9ec003ddcde2b9310f2875a24
BLAKE2b-256 checksum
How to use checksums
8cf7cb04313284a623bcd779ff165c2439ebfb66e7b1ac0cd2cc7743324e1d09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.19.1 CPython/3.9.13 Windows/10

Security for nonebot-plugin-arkgacha 0.8.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page