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.6.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.6-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_ark_roulette-1.2.6.tar.gz
Algorithm Hash digest
SHA256 bab551f441e43fd209e4786aa195fb5b819107953a4a8cd499be244b9f21c792
MD5 cb7b576334f54ddc6a8080466c9249ba
BLAKE2b-256 9c8ef6838479c70cc10442776c3b2491c63ec5215a2aa1c68d683e1775ad1c4c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_ark_roulette-1.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 52ad49e5a9d4a95f6489452439fecf9d304abb2df7d4d13ba5046f98e0abb87e
MD5 77c1763de77025b637fabbb9cb9f8ea2
BLAKE2b-256 e017c2ebd699beba970665e04b2880fb1e4b31fd78f0518ff5337455a0cc1df2

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