Skip to main content

Default template for PDM package

Project description

NoneBotPluginLogo

NoneBotPluginText

✨-Project Sekai Helper-✨

💬 前言

  • 本插件仅用于学习交流使用,请勿用于商业用途(虽然应该也没什么商业用途(x,如有侵权请联系我删除
  • 其实本来希望能读取玩家数据之类的,结果发现SEGA在23年把这个接口关了(😡

🔧安装

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

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

[tool.nonebot]
plugins = [
    # ...
    "nonebot_plugin_pjsk"
]

📚使用说明

指令

/pjsk card [team][name][type] 根据参数随机获取角色卡卡面
  • team - 各队伍名

队伍名与简称的对应关系如下⬇️:

队伍 简称
Leo/need ln
More More Jump mmj
Vivid Bad Sqaud vbs
wonderland showtime ws
vitrual singer vs
  • name - 各角色名

角色本名与简称对应关系如下⬇️:

人名 简称
星乃 一歌 ick
天马 咲希 saki
望月 穗波 hnm
日野森 志步 shino
花里 实乃里 mnr
桐谷 遥 hrk
桃井 爱莉 airi
日野森 雫 szk
小豆泽 心羽 khn
白石 杏 an
东云 彰人 akt
青柳 冬弥 toya
天马 司 tks
凤 笑梦 emu
草薙 宁宁 nene
神代 类 rui
宵崎 奏 knd
朝比奈 真冬 mfy
东云 绘名 ena
晓山 瑞希 mzk
初音 未来 miku
镜音 铃 rin
镜音 连 ren
巡音 流歌 ruka
MEIKO meiko
KAITO kaito
  • type - 卡片类型,可取"normal","train"

若上述三个参数错误则会忽略该项参数

优先级 人物 > 队伍

/pjsk update music/card
  • 更新曲库/卡面
/pjsk music difficulty name/id
参数
difficulty easy, normal, hard, expert, master, [apppend]
name 歌曲名,例如 相生, 快晴
id 歌曲id, 目前在data文件夹下pjsk_music.json无序列出

配置

配置项 必填 默认值 说明
PJSK_PLUGIN_ENABLED True 是否开启插件
MONITORED_GROUP [] 选定插件管理的群聊,若为默认值则所有管理所有群聊

🙏鸣谢

☎联系

📝更新日志

1.0.0

  • 完成README文档,插件正式上线

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_pjsk_helper-1.0.1.tar.gz (21.9 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_pjsk_helper-1.0.1-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_pjsk_helper-1.0.1.tar.gz.

File metadata

  • Download URL: nonebot_plugin_pjsk_helper-1.0.1.tar.gz
  • Upload date:
  • Size: 21.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.19.1 CPython/3.12.6 Linux/6.10.10-zen1-1-zen

File hashes

Hashes for nonebot_plugin_pjsk_helper-1.0.1.tar.gz
Algorithm Hash digest
SHA256 1f272446ce7e11e5031f8e5e17e64e29cf1ad12702701847dafafe254aded50d
MD5 04605368cd3699396a5d90e4c1c30fa1
BLAKE2b-256 3b9d4795aba302e4042abb6794f7961955d679657e4b86b42c4fbc25043133db

See more details on using hashes here.

File details

Details for the file nonebot_plugin_pjsk_helper-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_pjsk_helper-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9716864ef7fde7075014e6dbe7ef43978eb2678ae10fb4316266b4b92a7b3208
MD5 dbd05ae60ff7cdd98cedcc98a7a8f067
BLAKE2b-256 f51edddd445fdc18cdcfc32ae4c066addeaf4eb96f9fe6826806c5cc5cdc6395

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