nonebot-plugin-marshoai/config.py

9 lines
212 B
Python
Raw Normal View History

2024-09-17 20:20:31 +08:00
from pathlib import Path
from pydantic import BaseModel
from nonebot import get_plugin_config
class ConfigModel(BaseModel):
marshoai_token: str = ""
config: ConfigModel = get_plugin_config(ConfigModel)