nonebot-plugin-marshoai/config.py
2024-09-17 20:20:31 +08:00

9 lines
212 B
Python

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)