Skip to main content

A NoneBot2 plugin for sign-in and favorability system themed with Shiro.

Project description

nonebot-plugin-shiro-signin

✨ 基于 NoneBot2 的签到与好感度系统插件 ✨

license pypi python nonebot

📖 介绍

这是一个 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


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_shiro_signin-0.1.9.tar.gz (13.8 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_shiro_signin-0.1.9-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_shiro_signin-0.1.9.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_shiro_signin-0.1.9.tar.gz
Algorithm Hash digest
SHA256 2ce155decaa72b81abae20c8b6f1221aa8c1992520937748bcd7313fe2a03342
MD5 a8ec24be91af4d6458fde689cae0290a
BLAKE2b-256 0f35b5f814b399db83075ad3080a60c82b6487ef4a6d9a6869e3d66c34528acc

See more details on using hashes here.

Provenance

The following attestation bundles were made for nonebot_plugin_shiro_signin-0.1.9.tar.gz:

Publisher: publish.yml on luojisama/nonebot-plugin-shiro-signin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nonebot_plugin_shiro_signin-0.1.9-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_shiro_signin-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 5c699afc4fdceed26369db8e7ec7a1b81ae146ab4c5d40cfb6fffa3f8abbcf59
MD5 6862aa57f577c69e8afd38f85d527ed0
BLAKE2b-256 0957e6e2ca4af3cef0bdf486a8acb7e35f07b3558ababccb8849e382770f20ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for nonebot_plugin_shiro_signin-0.1.9-py3-none-any.whl:

Publisher: publish.yml on luojisama/nonebot-plugin-shiro-signin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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