Metadata-Version: 2.1
Name: nonebot-plugin-hoshino-sign
Version: 2.3.3
Summary: 一个从 hoshino 搬过来的 nonebot2 插件
Home-page: https://github.com/zhulinyv/nonebot_plugin_hoshino_sign
Author: (๑•小丫头片子•๑)
Author-email: zhulinyv2005@outlook.com
License: MIT
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.6.0
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: nonebot2
Requires-Dist: nonebot-adapter-onebot
Requires-Dist: nonebot_plugin_guild_patch
Requires-Dist: nonebot_plugin_imageutils
Requires-Dist: httpx
Requires-Dist: pytz
Requires-Dist: pillow
Requires-Dist: ujson


<div align="center">
  <a href="https://v2.nonebot.dev/store"><img src="https://github.com/A-kirami/nonebot-plugin-template/blob/resources/nbp_logo.png" width="180" height="180" alt="NoneBotPluginLogo"></a>
  <br>
  <p><img src="https://github.com/A-kirami/nonebot-plugin-template/blob/resources/NoneBotPlugin.svg" width="240" alt="NoneBotPluginText"></p>
</div>

<div align="center">

# nonebot-plugin-hoshino-sign

_✨ NoneBot 签到 ✨_


<a href="./LICENSE">
    <img src="https://img.shields.io/github/license/zhulinyv/NJS.svg" alt="license">
</a>
<a href="https://pypi.python.org/pypi/nonebot-plugin-hoshino-sign">
    <img src="https://img.shields.io/pypi/v/nonebot-plugin-hoshino-sign.svg" alt="pypi">
</a>
<img src="https://img.shields.io/badge/python-3.9+-blue.svg" alt="python">

</div>

## 📖 介绍

一个从 hoshino **~~抄~~借鉴**的 nonebot2 签到插件

原项目地址: [签到奖励魔改版](https://github.com/SonderXiaoming/login_bonus)

## 💿 安装

<details>
<summary>使用 nb-cli 安装</summary>
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装

    nb plugin install nonebot-plugin-hoshino-sign

</details>

<details>
<summary>使用包管理器安装</summary>
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令

<details>
<summary>pip</summary>

    pip install nonebot-plugin-hoshino-sign
</details>
<details>
<summary>pdm</summary>

    pdm add nonebot-plugin-hoshino-sign
</details>
<details>
<summary>poetry</summary>

    poetry add nonebot-plugin-hoshino-sign
</details>
<details>
<summary>conda</summary>

    conda install nonebot-plugin-hoshino-sign
</details>

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

    plugins = ["nonebot_plugin_hoshino_sign"]

</details>

## ⚙️ 配置

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

| 配置项 | 必填 | 类型 | 默认值 | 说明 |
|:-----:|:----:|:----:|:----:|:----:|
| NICKNAME | 是 | str | 脑积水 | 正经人一般都填了叭 |
| stamp_path | 否 | str | 插件目录 | 如果你不喜欢 pcr 的图片，你可以自己配置一个图片目录 |

(path 为: 绝对路径 或 相对于 bot.py 所在文件夹的路径)

注意: 图片最好为正方形, 不限制格式, 但需要文件名为 1.png, 2.jpg, 3.png, ......

## 🎉 使用
### 指令表
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|:-----:|:----:|:----:|:----:|:----:|
| 签到/盖章/妈! | 所有人 | 否 | 群聊、私聊、频道 | 签到(获得好感和 pcr 的印章) |
| 收集册(+QQ号/艾特) | 所有人 | 否 | 群聊、私聊、频道 | 查看自己或他人的收集进度 |

### 效果图

[![p9cSLCR.png](https://s1.ax1x.com/2023/05/13/p9cSLCR.png)](https://imgse.com/i/p9cSLCR)

**(来自原作者的话) ↓↓↓**

![收集册](https://user-images.githubusercontent.com/98363578/185780489-d60b1484-c4af-4834-b1f4-6db569a91048.PNG)

红的是已经收集到的，灰的是没收集的

有群排行（卷，都可以卷）

#### 素材来源：

https://tieba.baidu.com/p/6769790810

## 联系我吖

⚠️ 如果遇到任何部署、使用或二次开发上的问题或建议, 可以在 QQ频道: [我的中心花园-开发交流](https://pd.qq.com/s/8bkfowg3c) 找到我。


<hr>
<img width="300px" src="https://count.getloli.com/get/@zhulinyv?theme=rule34"></img>
