Skip to main content

Plugin for Arknights gacha, support multi platform

Project description

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

使用方法

指令如下:

方舟抽卡

方舟抽卡 200

方舟十连

方舟卡池更新

效果

方舟十连

res

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_arkgacha-0.8.1.tar.gz (17.8 kB view details)

Uploaded Source

Built Distribution

nonebot_plugin_arkgacha-0.8.1-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nonebot_plugin_arkgacha-0.8.1.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.19.1 CPython/3.9.13 Windows/10

File hashes

Hashes for nonebot_plugin_arkgacha-0.8.1.tar.gz
Algorithm Hash digest
SHA256 f6e0f9fd3d5b84cf6347853a9e7384701e0d4d8a6ea21b1171cd9a503ae65b2e
MD5 0a91d2b562fcdd942fd3cbd5a7d8c5e9
BLAKE2b-256 70df68071a1867bb37657c68a243b8462acbb1f418b5c57089c97422a98e03b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_arkgacha-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 beffeaa34e60b317aa210fcd103ea2c3f9ca37ee828f91ba8868a227c37570bd
MD5 e05270ec197b107f388913cf3e448f37
BLAKE2b-256 b01f928974c018cdafd05f2ab8c70e23d4723819591450f9504ab6e90242cd54

See more details on using hashes here.

Supported by

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