Skip to main content

一个用于 NoneBot 的插件,提供明日方舟干员筛选与随机选择功能,适用于群聊娱乐。

Project description

明日方舟干员插件

项目简介

这是一个基于 NoneBot 的插件,用于明日方舟干员的筛选、随机选择和数据更新功能。

功能

  • 筛选干员:根据关键词筛选符合条件的干员。
  • 随机选择干员:从筛选结果中随机选择指定数量的干员。
  • 更新数据:从远程数据源更新干员数据。

安装

  1. 确保已安装 Python 3.11。
  2. 使用以下命令安装:
    pip install nonebot-plugin-ark-roulette
    

使用方法

筛选干员

使用 /筛选 <关键词1> <关键词2> ... 命令筛选干员。例如:

/筛选 六星 狙击 

随机选择干员

使用 /随机选择 <数量> 命令从筛选结果中随机选择干员。例如:

/随机选择 3

更新数据

使用 /更新数据 命令更新干员数据:

/更新数据

配置选项

插件支持以下配置选项,您可以根据需要在 NoneBot 的配置文件中进行设置:

  • DATA_DIR: 指定用于存储干员数据的目录路径。默认值为 data/arkrsc
  • PROXY: 配置用于访问远程数据源的代理地址。例如:http://127.0.0.1:8080。默认不使用代理。

许可证

本项目基于 MIT License 许可。

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_ark_roulette-1.1.1.tar.gz (10.7 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_ark_roulette-1.1.1-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_ark_roulette-1.1.1.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_ark_roulette-1.1.1.tar.gz
Algorithm Hash digest
SHA256 747504b1bdec3a4aa5563714aea66460ee8cae0276a24aee5e9ffb3e96b1dcdc
MD5 ea7336a0009341ac551861b137cce509
BLAKE2b-256 d0680f27344ab9d1154730e3edde32a1a592ba220d2e7a6d5a4d9f1e23d823fe

See more details on using hashes here.

File details

Details for the file nonebot_plugin_ark_roulette-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_ark_roulette-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5d458e377bb7bc854851628a13a2db70a6c0e453b50b9915d05ee7a38cfb9321
MD5 7ede56d296e3490f28ead0d05203d323
BLAKE2b-256 6bee929dbbc5cc98b2f518c193bda016d52e3c3598b56086d1548df0be9051e9

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