A NoneBot2 plugin for sign-in and favorability system themed with Shiro.
Project description
nonebot-plugin-shiro-signin
✨ 基于 NoneBot2 的签到与好感度系统插件 ✨
📖 介绍
这是一个 NoneBot2 插件。 包含签到、好感度系统、行动系统、商店系统等功能。
💿 安装
使用 nb-cli 安装 (推荐)
nb plugin install nonebot-plugin-shiro-signin
使用 pip 安装
pip install nonebot-plugin-shiro-signin
并在 bot.py 中添加:
nonebot.load_plugin("nonebot_plugin_shiro_signin")
⚙️ 配置
在 .env 文件中可以配置以下项(可选):
| 配置项 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| sign_in_data_path | Path | plugin_dir/data/user_data.json | 数据存储路径 |
| hitokoto_api_url | str | ... | 一言 API 地址 |
🎮 使用
| 指令 | 别名 | 说明 |
|---|---|---|
| 签到 | - | 每日签到,增加好感度、金币和行动值 |
| 查询好感度 | 好感度, 我的好感度, 个人信息 | 查看当前等级和属性 |
| 商店 | 绪山商店, 绪山百货 | 打开道具商店 |
| 购买 [ID] | - | 购买指定道具 |
| 背包 | 我的背包, 仓库 | 查看已拥有道具 |
| 使用 [名称] | 使用道具, 吃, 穿, 玩 | 使用背包里的道具 |
| 行动 | 进行行动, 互动 | 消耗行动值与真寻互动,增加好感度 |
🛠️ TODO
- 增加更多互动事件
- 完善成就系统
- 支持更多适配器
📄 开源许可
本项目使用 MIT 许可证开源。
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot_plugin_shiro_signin-0.2.1.tar.gz.
File metadata
- Download URL: nonebot_plugin_shiro_signin-0.2.1.tar.gz
- Upload date:
- Size: 26.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
855572f4a237650348288303f90f12ec8d2f16e36d0d86afc0d1c085a5929e2a
|
|
| MD5 |
be7fe6d2e17cb71ec307e976e3cc3d56
|
|
| BLAKE2b-256 |
339aee6ff8ad6b497f04fe5117b79173ba02efc9fab8c32bf81af7f1314ba8ab
|
Provenance
The following attestation bundles were made for nonebot_plugin_shiro_signin-0.2.1.tar.gz:
Publisher:
publish.yml on luojisama/nonebot-plugin-shiro-signin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nonebot_plugin_shiro_signin-0.2.1.tar.gz -
Subject digest:
855572f4a237650348288303f90f12ec8d2f16e36d0d86afc0d1c085a5929e2a - Sigstore transparency entry: 986429684
- Sigstore integration time:
-
Permalink:
luojisama/nonebot-plugin-shiro-signin@cd0f3619fd286d1adc82e38cee16f465a790ca1b -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/luojisama
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@cd0f3619fd286d1adc82e38cee16f465a790ca1b -
Trigger Event:
push
-
Statement type:
File details
Details for the file nonebot_plugin_shiro_signin-0.2.1-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_shiro_signin-0.2.1-py3-none-any.whl
- Upload date:
- Size: 32.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7337ead338326a7220e4cd97e402bb6e5e58ebbcb131f1f4d331885eb2b855ac
|
|
| MD5 |
0d55704da161a3196e03f53fcd5b1692
|
|
| BLAKE2b-256 |
ba7f4a8b056a426840556183eba110a8c899a80c9cdc11ce0ac48a214c54526f
|
Provenance
The following attestation bundles were made for nonebot_plugin_shiro_signin-0.2.1-py3-none-any.whl:
Publisher:
publish.yml on luojisama/nonebot-plugin-shiro-signin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nonebot_plugin_shiro_signin-0.2.1-py3-none-any.whl -
Subject digest:
7337ead338326a7220e4cd97e402bb6e5e58ebbcb131f1f4d331885eb2b855ac - Sigstore transparency entry: 986429764
- Sigstore integration time:
-
Permalink:
luojisama/nonebot-plugin-shiro-signin@cd0f3619fd286d1adc82e38cee16f465a790ca1b -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/luojisama
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@cd0f3619fd286d1adc82e38cee16f465a790ca1b -
Trigger Event:
push
-
Statement type: