nonebot-plugin-rollpig 0.1.0__py3-none-any.whl → 0.1.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,105 @@
1
+ Metadata-Version: 2.4
2
+ Name: nonebot_plugin_rollpig
3
+ Version: 0.1.2
4
+ Summary: 每日抽取属于自己的小猪
5
+ License: MIT
6
+ License-File: LICENSE
7
+ Author: Bear_lele
8
+ Author-email: lele2587342146@gmail.com
9
+ Requires-Python: >=3.9,<4.0
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.9
13
+ Classifier: Programming Language :: Python :: 3.10
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Programming Language :: Python :: 3.13
17
+ Classifier: Programming Language :: Python :: 3.14
18
+ Requires-Dist: nonebot-adapter-onebot (>=2.2.0,<3.0.0)
19
+ Requires-Dist: nonebot-plugin-htmlrender (>=0.4.0,<0.5.0)
20
+ Requires-Dist: nonebot-plugin-localstore (>=0.7.4)
21
+ Requires-Dist: nonebot2 (>=2.4.0,<3.0.0)
22
+ Project-URL: Homepage, https://github.com/Bearlele/nonebot-plugin-rollpig
23
+ Description-Content-Type: text/markdown
24
+
25
+ <div align="center">
26
+ <a href="https://github.com/Bearlele/nonebot-plugin-rollpig">
27
+ <img src="https://raw.githubusercontent.com/Bearlele/nonebot-plugin-rollpig/refs/heads/main/PigLogo.jpeg" width="310" alt="logo">
28
+ </a>
29
+ <h2>🐖 nonebot-plugin-rollpig 🐖</h2>
30
+ 今天是什么小猪 🐽
31
+ </div>
32
+
33
+ ### 🐖 食用方法 🐖
34
+
35
+ 使用 pip 安装:
36
+
37
+ ```bash
38
+ pip install nonebot_plugin_rollpig
39
+ ```
40
+
41
+ 或者使用 nb-cli 安装:
42
+
43
+ ```bash
44
+ nb plugin install nonebot_plugin_rollpig
45
+ ```
46
+
47
+ 或者直接 **Download ZIP**
48
+
49
+ ---
50
+
51
+ ### 🐷 使用 🐷
52
+
53
+ **今日小猪** - 抽取今天属于你的小猪类型 🐖
54
+
55
+ - 每个用户每天只能抽取一次 🐽
56
+ - 重复抽取不会改变结果 🐷
57
+ - 每天 0 点自动重置 🐖
58
+
59
+ ---
60
+
61
+ ### 🐖 新增小猪 🐖
62
+
63
+ 插件资源路径:
64
+
65
+ ```
66
+ nonebot_plugin_rollpig/resource
67
+ ```
68
+
69
+ - **pig.json** 小猪信息,例如:
70
+
71
+ ```json
72
+ [
73
+ {
74
+ "id": "pig",
75
+ "name": "猪",
76
+ "description": "普通小猪",
77
+ "analysis": "你性格温和,喜欢简单的生活,容易满足。在别人眼中可能有些慵懒,但你知道如何享受生活的美好。"
78
+ }
79
+ ]
80
+ ```
81
+
82
+ - **image/** 小猪图片
83
+ - 图片命名需和信息中的 `id` 一致
84
+ - 支持图片类型:`["png", "jpg", "jpeg", "webp", "gif"]`
85
+
86
+ ---
87
+
88
+ ### 🐽 目录结构示例 🐽
89
+
90
+ ```
91
+ nonebot_plugin_rollpig/
92
+ ├─ __init__.py
93
+ ├─ resource/
94
+ │ ├─ pig.json
95
+ │ └─ image/
96
+ │ ├─ pig.png
97
+ ```
98
+
99
+ ---
100
+
101
+ ### 🐖 注意事项 🐖
102
+
103
+ - 新增小猪时只需在 `pig.json` 添加对象,并将对应图片放到 `image/` 文件夹即可 🐷
104
+ - 图片自动按 id 匹配,无需在 JSON 中写图片后缀 🐖
105
+
@@ -23,7 +23,7 @@ nonebot_plugin_rollpig/resource/image/zhuge-liang.png,sha256=yvF5hNUzBXJIHi-vwg5
23
23
  nonebot_plugin_rollpig/resource/image/zombie-pig.png,sha256=fKQlp_kI3x8wMlVUT6U-rilMLpH0TpT_-ViNVWBSbcM,20797
24
24
  nonebot_plugin_rollpig/resource/pig.json,sha256=afKUyD5tYUiqqJYWK1m8HJBgEciq6HyVwVM2Z_CIIFw,6347
25
25
  nonebot_plugin_rollpig/resource/template.html,sha256=Xs5YIhhemIgwr2nrWAjW6G1HhgMVE8tYx8yeTi9yphw,1060
26
- nonebot_plugin_rollpig-0.1.0.dist-info/licenses/LICENSE,sha256=zn7XqavdCw11Nln_m8Eu0S7C3rZ9C-VGbqbrVGeSTGg,1087
27
- nonebot_plugin_rollpig-0.1.0.dist-info/METADATA,sha256=twdALCRh2UXguBQmH7FGeEutpxlc_VBomPPT-H7rPRU,1065
28
- nonebot_plugin_rollpig-0.1.0.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
29
- nonebot_plugin_rollpig-0.1.0.dist-info/RECORD,,
26
+ nonebot_plugin_rollpig-0.1.2.dist-info/licenses/LICENSE,sha256=zn7XqavdCw11Nln_m8Eu0S7C3rZ9C-VGbqbrVGeSTGg,1087
27
+ nonebot_plugin_rollpig-0.1.2.dist-info/METADATA,sha256=zx1cTmcjUhV71-fY_i5MTVG6sseYbKHatzdXSnnBwAs,2639
28
+ nonebot_plugin_rollpig-0.1.2.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
29
+ nonebot_plugin_rollpig-0.1.2.dist-info/RECORD,,
@@ -1,28 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: nonebot_plugin_rollpig
3
- Version: 0.1.0
4
- Summary: 每日抽取属于自己的小猪
5
- License: MIT
6
- License-File: LICENSE
7
- Author: Bear_lele
8
- Author-email: lele2587342146@gmail.com
9
- Requires-Python: >=3.9,<4.0
10
- Classifier: License :: OSI Approved :: MIT License
11
- Classifier: Programming Language :: Python :: 3
12
- Classifier: Programming Language :: Python :: 3.9
13
- Classifier: Programming Language :: Python :: 3.10
14
- Classifier: Programming Language :: Python :: 3.11
15
- Classifier: Programming Language :: Python :: 3.12
16
- Classifier: Programming Language :: Python :: 3.13
17
- Classifier: Programming Language :: Python :: 3.14
18
- Requires-Dist: nonebot-adapter-onebot (>=2.2.0,<3.0.0)
19
- Requires-Dist: nonebot-plugin-apscheduler (>=0.5.0)
20
- Requires-Dist: nonebot-plugin-htmlrender (>=0.4.0,<0.5.0)
21
- Requires-Dist: nonebot-plugin-localstore (>=0.7.4)
22
- Requires-Dist: nonebot2 (>=2.4.0,<3.0.0)
23
- Project-URL: Homepage, https://github.com/Bearlele/nonebot-plugin-rollpig
24
- Description-Content-Type: text/markdown
25
-
26
- # nonebot-plugin-rollpig
27
- 来抽取属于你的小猪吧!
28
-