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.0.tar.gz (10.4 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.0-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_ark_roulette-1.1.0.tar.gz
Algorithm Hash digest
SHA256 4181654fc39b21185285e142b84648f64010212400f4257ce0ea1282ea2fee43
MD5 0003c011ceccd8d1ddcca36925deecf3
BLAKE2b-256 210e081d5a12a2d0269f8a0acbd1001678aaffc91a6a64960f4d951e2582dc60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_ark_roulette-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ae0d1c8ca2abdda1f760ac858ca6938b3daa69d832f8a3ece45cef916f41840
MD5 1a970b34be7c572f848affafeb2477e8
BLAKE2b-256 f00a2997a0d5aeac9a6b56ec66b33a73257830628ac621c0bebf1a3f7f5d91a9

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