LittlePaimon/Paimon_Calender/calendar_config.py

12 lines
229 B
Python
Raw Normal View History

2022-05-27 21:13:59 +08:00
from pydantic import BaseModel
from nonebot import get_driver
from typing import List
class PluginConfig(BaseModel):
enable_group: List[int] = []
config: PluginConfig = PluginConfig.parse_obj(get_driver().config.dict())