nonebot-plugin-rollpig 0.1.2__py3-none-any.whl → 0.1.3__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.
- nonebot_plugin_rollpig/__init__.py +8 -2
- {nonebot_plugin_rollpig-0.1.2.dist-info → nonebot_plugin_rollpig-0.1.3.dist-info}/METADATA +2 -1
- {nonebot_plugin_rollpig-0.1.2.dist-info → nonebot_plugin_rollpig-0.1.3.dist-info}/RECORD +5 -5
- {nonebot_plugin_rollpig-0.1.2.dist-info → nonebot_plugin_rollpig-0.1.3.dist-info}/WHEEL +0 -0
- {nonebot_plugin_rollpig-0.1.2.dist-info → nonebot_plugin_rollpig-0.1.3.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
from nonebot import on_command
|
|
1
|
+
from nonebot import on_command, require
|
|
2
2
|
from nonebot.plugin import PluginMetadata
|
|
3
3
|
from nonebot.adapters.onebot.v11 import MessageSegment
|
|
4
|
-
|
|
4
|
+
|
|
5
|
+
# 确保依赖插件先被 NoneBot 注册
|
|
6
|
+
require("nonebot_plugin_apscheduler")
|
|
7
|
+
require("nonebot_plugin_htmlrender")
|
|
8
|
+
require("nonebot_plugin_localstore")
|
|
9
|
+
|
|
5
10
|
from nonebot_plugin_apscheduler import scheduler
|
|
11
|
+
from nonebot_plugin_htmlrender import template_to_pic
|
|
6
12
|
import nonebot_plugin_localstore as store
|
|
7
13
|
|
|
8
14
|
from nonebot.log import logger
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nonebot_plugin_rollpig
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: 每日抽取属于自己的小猪
|
|
5
5
|
License: MIT
|
|
6
6
|
License-File: LICENSE
|
|
@@ -16,6 +16,7 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.13
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.14
|
|
18
18
|
Requires-Dist: nonebot-adapter-onebot (>=2.2.0,<3.0.0)
|
|
19
|
+
Requires-Dist: nonebot-plugin-apscheduler (>=0.5.0)
|
|
19
20
|
Requires-Dist: nonebot-plugin-htmlrender (>=0.4.0,<0.5.0)
|
|
20
21
|
Requires-Dist: nonebot-plugin-localstore (>=0.7.4)
|
|
21
22
|
Requires-Dist: nonebot2 (>=2.4.0,<3.0.0)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
nonebot_plugin_rollpig/__init__.py,sha256=
|
|
1
|
+
nonebot_plugin_rollpig/__init__.py,sha256=EGZfpqy0NkjQI0DDRvmkIM5-Z02rt8QwUkWNv0A80KI,3660
|
|
2
2
|
nonebot_plugin_rollpig/resource/image/black-pig.png,sha256=f4kTgn_A7Mxr-Rk01cr2yEKO9X91CnyT6Meax9XgliQ,10722
|
|
3
3
|
nonebot_plugin_rollpig/resource/image/black-white-pig.png,sha256=FJ6rWl2cXgd401Q9xfUQEjuP2Gz4E01dU_PymTjy1DI,19559
|
|
4
4
|
nonebot_plugin_rollpig/resource/image/crystal-pig.png,sha256=MvAGfbJk7YpnG1YAObHldW16Lk7aJj4ym4G91b1nnvI,69523
|
|
@@ -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.
|
|
27
|
-
nonebot_plugin_rollpig-0.1.
|
|
28
|
-
nonebot_plugin_rollpig-0.1.
|
|
29
|
-
nonebot_plugin_rollpig-0.1.
|
|
26
|
+
nonebot_plugin_rollpig-0.1.3.dist-info/licenses/LICENSE,sha256=zn7XqavdCw11Nln_m8Eu0S7C3rZ9C-VGbqbrVGeSTGg,1087
|
|
27
|
+
nonebot_plugin_rollpig-0.1.3.dist-info/METADATA,sha256=82LlH4uczGOJDakqNX8Rzf9os0VX_cYc21dxS9ka8oQ,2691
|
|
28
|
+
nonebot_plugin_rollpig-0.1.3.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
29
|
+
nonebot_plugin_rollpig-0.1.3.dist-info/RECORD,,
|
|
File without changes
|
{nonebot_plugin_rollpig-0.1.2.dist-info → nonebot_plugin_rollpig-0.1.3.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|