mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-13 16:10:05 +08:00
✨ 添加并修复webui对kook、discord的头像显示
This commit is contained in:
@@ -19,6 +19,10 @@ class BotSetting(BaseModel):
|
||||
"""平台超级用户"""
|
||||
qbot_id_data: dict[str, str] = Field(default_factory=dict)
|
||||
"""官bot id:账号id"""
|
||||
kaiheila_bots: list[dict[str,str]] = Field(default_factory=list)
|
||||
"""kaiheilabot id:账号id"""
|
||||
discord_bots: list[dict] = Field(default_factory=list)
|
||||
"""discordbot id:账号id"""
|
||||
|
||||
def get_qbot_uid(self, qbot_id: str) -> str | None:
|
||||
"""获取官bot账号id
|
||||
|
||||
Reference in New Issue
Block a user