Skip to main content

Nonebot2查询原神历史卡池小插件

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-gshisbanner

✨ 本插件用于在机器人上查询原神历史卡池信息 ✨

license pypi python

📖 介绍

本插件用于在机器人上查询原神历史卡池信息

💿 安装

使用 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
# 越大单次转发内容更多,合并转发的次数更少,越小单单次转发内容更少,但合并转发的次数更多
# 不要设置为>99或者<0的数字或者任意字符串

🎉 使用

指令表

指令 权限 需要@ 范围 说明
[name]历史卡池(num) ALL ALL name必填,为角色名字或别名;num选填,为单次合并转发次数,若无则为forward_length的值
刷新历史卡池/别名 管理员以上 ALL 刷新历史卡池或别名

效果图

image

image

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_gshisbanner-0.3.6.tar.gz (6.2 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page