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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_ark_roulette-1.2.0.tar.gz
Algorithm Hash digest
SHA256 7b7fcd6bc99d81e84e7338c8ecc2a86636211c3159add3c7b7706c402136e076
MD5 ad8971c21cbc5311fdaa157b315dd830
BLAKE2b-256 8c8dfd6c56635c9e5084cf439684ef7467d0785adbd1d9de65b7550997c5119d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_ark_roulette-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e8caf4264fc709cc1f1db4b24eeb3fee611b68d37d88d12605f79066ac620452
MD5 059fd53d73556d39a09c8b9723adc52c
BLAKE2b-256 ec6a4176dc3435f51f8134b0357032a487fe131670f150a1f35c8f1abf8b0fee

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