mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2024-11-30 09:14:52 +08:00
9 lines
212 B
Python
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)
|