一个用于 NoneBot 的插件,提供明日方舟干员筛选与随机选择功能,适用于群聊娱乐。
Project description
明日方舟干员插件
项目简介
这是一个基于 NoneBot 的插件,用于明日方舟干员的筛选、随机选择和数据更新功能。
功能
- 筛选干员:根据关键词筛选符合条件的干员。
- 随机选择干员:从筛选结果中随机选择指定数量的干员。
- 更新数据:从远程数据源更新干员数据。
安装
- 确保已安装 Python 3.11。
- 使用以下命令安装:
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot_plugin_ark_roulette-1.2.1.tar.gz.
File metadata
- Download URL: nonebot_plugin_ark_roulette-1.2.1.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
601ad7b27e5884b4686dc2d547f5928f5496bcb2ab4aa05cfb62bfebb1c2e5a0
|
|
| MD5 |
f4b1c72c4cb2ae86d22e76a2f0d73d61
|
|
| BLAKE2b-256 |
01c786944a4f525e1e58c6b28d66fef2df2fdc212bd2fe2ccaba58aa937b2596
|
File details
Details for the file nonebot_plugin_ark_roulette-1.2.1-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_ark_roulette-1.2.1-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c369aa27af19c9e6e1aca51918499f6c031b59bcfdea6e78d142d203e74ef5d
|
|
| MD5 |
66bcb25b432a1fdb73dc53f5828f71df
|
|
| BLAKE2b-256 |
054bfee3724c16203323ba4156ad8251968042d2ea96e356ac3659e226e64b71
|