nonebot-plugin-template 0.0.1__tar.gz → 0.0.2__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {nonebot_plugin_template-0.0.1 → nonebot_plugin_template-0.0.2}/PKG-INFO +1 -1
- {nonebot_plugin_template-0.0.1 → nonebot_plugin_template-0.0.2}/nonebot_plugin_template/__init__.py +1 -6
- {nonebot_plugin_template-0.0.1 → nonebot_plugin_template-0.0.2}/nonebot_plugin_template.egg-info/PKG-INFO +1 -1
- {nonebot_plugin_template-0.0.1 → nonebot_plugin_template-0.0.2}/pyproject.toml +1 -1
- {nonebot_plugin_template-0.0.1 → nonebot_plugin_template-0.0.2}/README.md +0 -0
- {nonebot_plugin_template-0.0.1 → nonebot_plugin_template-0.0.2}/nonebot_plugin_template/config.py +1 -1
- {nonebot_plugin_template-0.0.1 → nonebot_plugin_template-0.0.2}/nonebot_plugin_template/matcher.py +0 -0
- {nonebot_plugin_template-0.0.1 → nonebot_plugin_template-0.0.2}/nonebot_plugin_template.egg-info/SOURCES.txt +0 -0
- {nonebot_plugin_template-0.0.1 → nonebot_plugin_template-0.0.2}/nonebot_plugin_template.egg-info/dependency_links.txt +0 -0
- {nonebot_plugin_template-0.0.1 → nonebot_plugin_template-0.0.2}/nonebot_plugin_template.egg-info/requires.txt +0 -0
- {nonebot_plugin_template-0.0.1 → nonebot_plugin_template-0.0.2}/nonebot_plugin_template.egg-info/top_level.txt +0 -0
- {nonebot_plugin_template-0.0.1 → nonebot_plugin_template-0.0.2}/setup.cfg +0 -0
{nonebot_plugin_template-0.0.1 → nonebot_plugin_template-0.0.2}/nonebot_plugin_template/__init__.py
RENAMED
@@ -1,8 +1,4 @@
|
|
1
|
-
from nonebot import
|
2
|
-
require, # noqa: F401
|
3
|
-
get_driver, # @get_driver().on_startup 装饰启动时运行函数 # noqa: F401
|
4
|
-
get_bots, # dict[str, BaseBot] 常用于定时器获取 BOT 对象 # noqa: F401
|
5
|
-
)
|
1
|
+
from nonebot import require
|
6
2
|
from nonebot.plugin import (
|
7
3
|
PluginMetadata,
|
8
4
|
inherit_supported_adapters
|
@@ -15,7 +11,6 @@ require("nonebot_plugin_apscheduler")
|
|
15
11
|
|
16
12
|
from .config import Config # noqa: E402
|
17
13
|
|
18
|
-
|
19
14
|
__plugin_meta__ = PluginMetadata(
|
20
15
|
name="名称",
|
21
16
|
description="描述",
|
File without changes
|
{nonebot_plugin_template-0.0.1 → nonebot_plugin_template-0.0.2}/nonebot_plugin_template/config.py
RENAMED
@@ -2,8 +2,8 @@ from nonebot import (
|
|
2
2
|
get_driver,
|
3
3
|
get_plugin_config
|
4
4
|
)
|
5
|
-
from pydantic import BaseModel
|
6
5
|
from pathlib import Path
|
6
|
+
from pydantic import BaseModel
|
7
7
|
from typing import List, Literal, Optional # noqa: F401
|
8
8
|
|
9
9
|
from nonebot_plugin_apscheduler import scheduler # noqa: F401
|
{nonebot_plugin_template-0.0.1 → nonebot_plugin_template-0.0.2}/nonebot_plugin_template/matcher.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|