nonebot-plugin-areusleepy 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_areusleepy/__init__.py +4 -2
- {nonebot_plugin_areusleepy-0.1.2.dist-info → nonebot_plugin_areusleepy-0.1.3.dist-info}/METADATA +4 -4
- nonebot_plugin_areusleepy-0.1.3.dist-info/RECORD +8 -0
- nonebot_plugin_areusleepy-0.1.2.dist-info/RECORD +0 -8
- {nonebot_plugin_areusleepy-0.1.2.dist-info → nonebot_plugin_areusleepy-0.1.3.dist-info}/WHEEL +0 -0
- {nonebot_plugin_areusleepy-0.1.2.dist-info → nonebot_plugin_areusleepy-0.1.3.dist-info}/entry_points.txt +0 -0
- {nonebot_plugin_areusleepy-0.1.2.dist-info → nonebot_plugin_areusleepy-0.1.3.dist-info}/licenses/LICENSE +0 -0
@@ -1,11 +1,13 @@
|
|
1
1
|
from nonebot import get_plugin_config
|
2
|
-
from nonebot.plugin import PluginMetadata, inherit_supported_adapters
|
2
|
+
from nonebot.plugin import PluginMetadata, inherit_supported_adapters, require
|
3
|
+
|
4
|
+
require("nonebot_plugin_alconna")
|
3
5
|
|
4
6
|
from . import __main__ as __main__
|
5
7
|
|
6
8
|
from .config import Config
|
7
9
|
|
8
|
-
__version__ = "0.1.
|
10
|
+
__version__ = "0.1.3"
|
9
11
|
__plugin_meta__ = PluginMetadata(
|
10
12
|
name="AreYouSleepy",
|
11
13
|
description="基于 sleepy-project/sleepy 项目的状态查询插件!",
|
{nonebot_plugin_areusleepy-0.1.2.dist-info → nonebot_plugin_areusleepy-0.1.3.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: nonebot-plugin-areusleepy
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.3
|
4
4
|
Summary: Let bot look!!!
|
5
5
|
Author-Email: Murasame <congyu@sbhfy.cn>, wyf9 <wyf9@wyf9.top>
|
6
6
|
License: MIT
|
@@ -124,9 +124,9 @@ sleepy_timeout=5.0 # 请求超时 (秒)
|
|
124
124
|
sleepy_retries=3 # 重试次数
|
125
125
|
|
126
126
|
# sleepy 定时任务配置
|
127
|
-
sleepy_scheduler_enabled
|
128
|
-
sleepy_scheduler_cron
|
129
|
-
sleepy_scheduler_groups:
|
127
|
+
sleepy_scheduler_enabled=False # 是否启用定时任务
|
128
|
+
sleepy_scheduler_cron="0 9,21 * * *" # Cron 表达式,默认每天 9:00 和 21:00
|
129
|
+
sleepy_scheduler_groups:"" # 推送的群组列表,默认为空,开启定时任务后必须配置此项
|
130
130
|
```
|
131
131
|
|
132
132
|
## 🎉 使用
|
@@ -0,0 +1,8 @@
|
|
1
|
+
nonebot_plugin_areusleepy-0.1.3.dist-info/METADATA,sha256=HSPf9fQEw9vvojOa68ZfZyqbq2wyytTe7qNZQdP7aHY,4519
|
2
|
+
nonebot_plugin_areusleepy-0.1.3.dist-info/WHEEL,sha256=tSfRZzRHthuv7vxpI4aehrdN9scLjk-dCJkPLzkHxGg,90
|
3
|
+
nonebot_plugin_areusleepy-0.1.3.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
|
4
|
+
nonebot_plugin_areusleepy-0.1.3.dist-info/licenses/LICENSE,sha256=MVxFMTnhkkb66KBtMXZlHD7D0YbMVX1bSR9Z-jowliM,1086
|
5
|
+
nonebot_plugin_areusleepy/__init__.py,sha256=m5zu4O5-Phez7EXMqcVPFAN4LDRJNeiarK1fkorNLs4,661
|
6
|
+
nonebot_plugin_areusleepy/__main__.py,sha256=cA4aYmlKWc_dvCs0r8yOhETy0faZ-XRtgjfUoiIXE-Y,5982
|
7
|
+
nonebot_plugin_areusleepy/config.py,sha256=WChgbr07OyZrNaTojLUCpzSHiV5mU5XBMAkQysrktgw,796
|
8
|
+
nonebot_plugin_areusleepy-0.1.3.dist-info/RECORD,,
|
@@ -1,8 +0,0 @@
|
|
1
|
-
nonebot_plugin_areusleepy-0.1.2.dist-info/METADATA,sha256=0EeIwRbl3m8ZJddtek2JHlp_EDJdoWfsrcal8YJ0rEY,4547
|
2
|
-
nonebot_plugin_areusleepy-0.1.2.dist-info/WHEEL,sha256=tSfRZzRHthuv7vxpI4aehrdN9scLjk-dCJkPLzkHxGg,90
|
3
|
-
nonebot_plugin_areusleepy-0.1.2.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
|
4
|
-
nonebot_plugin_areusleepy-0.1.2.dist-info/licenses/LICENSE,sha256=MVxFMTnhkkb66KBtMXZlHD7D0YbMVX1bSR9Z-jowliM,1086
|
5
|
-
nonebot_plugin_areusleepy/__init__.py,sha256=cANr2dNZCZGtPvok5RL3s0zR5mhUKf-0EUBXZw5sknI,615
|
6
|
-
nonebot_plugin_areusleepy/__main__.py,sha256=cA4aYmlKWc_dvCs0r8yOhETy0faZ-XRtgjfUoiIXE-Y,5982
|
7
|
-
nonebot_plugin_areusleepy/config.py,sha256=WChgbr07OyZrNaTojLUCpzSHiV5mU5XBMAkQysrktgw,796
|
8
|
-
nonebot_plugin_areusleepy-0.1.2.dist-info/RECORD,,
|
{nonebot_plugin_areusleepy-0.1.2.dist-info → nonebot_plugin_areusleepy-0.1.3.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|
File without changes
|