1
0
forked from bot/app

🐛 修复生命周期钩子函数的问题

This commit is contained in:
2024-08-08 18:06:03 +08:00
parent c29a3fd6d4
commit f69feb1def
27 changed files with 172 additions and 148 deletions

View File

@ -16,10 +16,10 @@ from pydantic import BaseModel
class PluginMetadata(BaseModel):
"""
轻雪插件元数据,由插件编写者提供
轻雪插件元数据,由插件编写者提供name为必填项
"""
name: str
description: str
description: str = ""
usage: str = ""
type: str = ""
homepage: str = ""