Skip to main content

世界计划插件,拥有组建车队、生成角色表情包、模拟抽卡等功能,持续开发中

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-pjsekaihelper

✨ 世界计划小助手 ✨

LICENSE PYPI Python3.9+ nonebot2 onebotv11

📖 介绍

世界计划插件,拥有组建车队、生成角色表情包、模拟抽卡等功能,持续开发中

有问题或想法欢迎提issue以及pr!!!

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-pjsekaihelper
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-pjsekaihelper
pdm
pdm add nonebot-plugin-pjsekaihelper
poetry
poetry add nonebot-plugin-pjsekaihelper
conda
conda install nonebot-plugin-pjsekaihelper

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入

plugins = ["nonebot_plugin_pjsekaihelper"]

⚙️ 配置

在 nonebot2 项目的.env文件中添加下表中的必填配置

配置项 必填 默认值 说明
API_TIMEOUT None 如后台经常报错WebSocket call api send_msg timeout, 请修改此项 单位秒
PJSK_ASSETS_PREFIX ... TheOriginalAyaka/sekai-stickers 仓库 GitHubUserContent 地址列表
PJSK_REPO_PREFIX ... 本仓库 GitHubUserContent 地址列表
PJSK_HELP_AS_IMAGE True 是否将帮助信息渲染为图片发送
PJSK_REPLY True 是否回复消息发送者
PJSK_REQ_RETRY 1 插件请求 URL 时的重试次数
PJSK_REQ_PROXY None 插件下载资源时使用的代理
PJSK_USE_CACHE True 是否缓存插件生成的所有图片
PJSK_CLEAR_CACHE False 是否在插件启动时清空缓存文件夹,禁用时只会清理非表情包的图片缓存

🎉 使用

指令表

指令 权限 需要@ 范围 说明
pjsk help 群员 群聊 获取指令帮助
建车队/组队/组车队 <房间号> <服务器(日/台/韩/国际/中)> 群员 群聊 创建一个车队
删除车队/删队/删车队 <房间号> 群主/管理员/SUPERUSER 群聊 删除指定车队
车队号/房间号/车号/有烤吗/有烤嘛/ycm 群员 群聊 发送房间列表
重置车队列表 SUPERUSER 群聊 清空房间列表
pjsk表情列表 群员 群聊 查看所有角色表情包
pjsk表情 群员 群聊 进入交互创建模式
pjsk表情 -h 群员 群聊 进入Shell-like创建模式
pjsk抽卡 群员 群聊 进行模拟抽卡

⌨ 开发计划

🟩 跨群车队组建

🟩 表情包生成

🟩 随机抽卡

🟨 用户数据处理

💡 致谢

感谢 SekaiStickers 的表情包生成源码 (我是抄的一点没改

效果图

效果图

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_pjsekaihelper-1.2.1.tar.gz (18.2 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_pjsekaihelper-1.2.1-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_pjsekaihelper-1.2.1.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_pjsekaihelper-1.2.1.tar.gz
Algorithm Hash digest
SHA256 417a8ab2d7fcc3c6b57561b03efbe5cbb4360bace68b82b52ab11e307905de95
MD5 0785bbfa883e0eb8b68ed7f4b395b09e
BLAKE2b-256 ea78903389c683ee4f8e240dd95bbab105b4fc9adb33f772bca272c105039a44

See more details on using hashes here.

File details

Details for the file nonebot_plugin_pjsekaihelper-1.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_pjsekaihelper-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e319fbd1a9030e7067b8fff3e438af2249a10e195776c3b24d2237f9120c6f58
MD5 570c94375b5762637481b1c4e3031a5c
BLAKE2b-256 c14974a9b5aef431851be4ebaaefc875d27f410ddc25d054df5686b43f191716

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