nonebot-plugin-template 0.0.1__tar.gz → 0.0.2__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: nonebot-plugin-template
3
- Version: 0.0.1
3
+ Version: 0.0.2
4
4
  Summary: 插件描述
5
5
  Author-email: fllesser <fllessive@gmail.com>
6
6
  Requires-Python: <3.13,>=3.10
@@ -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="描述",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: nonebot-plugin-template
3
- Version: 0.0.1
3
+ Version: 0.0.2
4
4
  Summary: 插件描述
5
5
  Author-email: fllesser <fllessive@gmail.com>
6
6
  Requires-Python: <3.13,>=3.10
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "nonebot-plugin-template"
3
- version = "0.0.1"
3
+ version = "0.0.2"
4
4
  description = "插件描述"
5
5
  readme = "README.md"
6
6
  authors = [{name = "fllesser", email = "fllessive@gmail.com"}]
@@ -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