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"]
⚙️ 配置
gshisbanner_forward_length=10
# 单次合并转发消息长度(int),默认为10
# 越大单次转发内容更多,合并转发的次数更少,越小单单次转发内容更少,但合并转发的次数更多
# 不要设置为>99或者<0的数字或者任意字符串
🎉 使用
指令表
指令 | 权限 | 需要@ | 范围 | 说明 |
---|---|---|---|---|
[name]历史卡池(num) | ALL | 否 | ALL | name必填,为角色名字或别名;num选填,为单次合并转发次数,若无则为gshisbanner_forward_length的值 |
[version]卡池[num] | ALL | 否 | ALL | version为版本号,如1.3,2.6等,num为1-3,对应上半(中)下半,可不填,如不填则发送该版本全部卡池 |
刷新历史卡池/别名 | 管理员以上 | 否 | ALL | 刷新历史卡池或别名 |
效果图
历史卡池效果图
图1
图2
图3
版本卡池效果图
图1
图2
图3
刷新卡池/别名效果图
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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56c977a3f4a432da35b84a3686a4e2330d5d299ab247caa1f9a150407e66ed0d |
|
MD5 | d9bb61c68bf40041fd48f3a112b2a99e |
|
BLAKE2b-256 | ca2c534e986e0beea04a88a9c9131df9cd0476c5a6847bfdf99c8bbe02fcdba1 |
Close
Hashes for nonebot_plugin_gshisbanner-0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31da9021213f56f36c2ae89463a6441590c90a76057aabab600f54955c319030 |
|
MD5 | 86ebf90e1eaa65137c2167fb57dbe99f |
|
BLAKE2b-256 | 5405d6e36d6bbdbce60eb82c15db92b53cb9600f510444804b46aeedc480a63f |