Nonebot2查询原神历史卡池小插件
Project description
📖 介绍
本插件用于在机器人上查询原神历史卡池信息
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-gshisbanner
pip
pip install nonebot-plugin-gshisbanner
打开 nonebot2 项目根目录下的 pyproject.toml
文件, 在 [tool.nonebot]
部分追加写入
plugins = ["nonebot_plugin_gshisbanner"]
⚙️ 配置
forward_length=10
# 单次合并转发消息长度(int),默认为10
# 越大单次转发内容更多,合并转发的次数更少,越小单单次转发内容更少,但合并转发的次数更多
🎉 使用
指令表
指令 | 权限 | 需要@ | 范围 | 说明 |
---|---|---|---|---|
[name]历史卡池(num) | ALL | 否 | ALL | name必填,为角色名字或别名;num选填,为单次合并转发次数,若无则为forward_length的值 |
刷新历史卡池/别名 | 管理员以上 | 是 | ALL | 刷新历史卡池或别名 |
效果图
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
Close
Hashes for nonebot_plugin_gshisbanner-0.3.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc39fd943720a6de13148d0e7b63dd667042f96394d8238cc5fdf8b810c9e038 |
|
MD5 | ddefbd50ee456782a9f8a6c63261fb8f |
|
BLAKE2b-256 | 9987c84cffbdedd00d95c6dc1c9c7ab291b952f161cb4258136e45a8bdc5bf8a |
Close
Hashes for nonebot_plugin_gshisbanner-0.3.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 399060d391471af200c7ef7ca52257bc3dd88660bed7b166b2efef634035a336 |
|
MD5 | 02c4c414341b5fa39abb19346d68f0b3 |
|
BLAKE2b-256 | 6dd16002fa74654ceef7c710708ea2499470cb658e02e13ebd4c38f5d4ab94dc |