mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-28 08:12:14 +08:00
17 lines
304 B
Python
17 lines
304 B
Python
|
from pydantic import BaseModel
|
||
|
|
||
|
from nonebot.plugin import PluginMetadata
|
||
|
|
||
|
|
||
|
class Config(BaseModel):
|
||
|
custom: str = ""
|
||
|
|
||
|
|
||
|
__plugin_meta__ = PluginMetadata(
|
||
|
name="测试插件",
|
||
|
description="测试插件元信息",
|
||
|
usage="无法使用",
|
||
|
config=Config,
|
||
|
extra={"author": "NoneBot"},
|
||
|
)
|