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.2.5.tar.gz (9.9 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.2.5-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_ark_roulette-1.2.5.tar.gz
Algorithm Hash digest
SHA256 f85ce7279359cf4c4bd5b29ab5c1ed0944468758f046184d05724d645d2d2ec2
MD5 95c146e3a48be44334893c6ff242aba6
BLAKE2b-256 178ae009cf401bb0bee2fc6386004529d3020a9f1858b616f538bc250c44f6c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_ark_roulette-1.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8856c627d32c8eb87bdc34ba9c6897a1807773f4c992154a82aa44236b8d43c9
MD5 86e76f560864659a6a9b2b51b1e01b05
BLAKE2b-256 2109a8ccf82650ed511b48c23ff45cbda7b11813ca1f29cbf47a20b9461fc00b

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