Skip to content

Commit

Permalink
🐛 fix #127
Browse files Browse the repository at this point in the history
  • Loading branch information
Redlnn committed Jun 5, 2023
1 parent 573300d commit 914c757
Show file tree
Hide file tree
Showing 2 changed files with 1,874 additions and 1,853 deletions.
2 changes: 1 addition & 1 deletion libs/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class BasicConfig:
MySQL示例:mysql+asyncmy://user:pass@hostname/dbname?charset=utf8mb4
"""
miraiApiHttp: MAHConfig = MAHConfig(account=123456789, verifyKey='VerifyKey')
miraiApiHttp: MAHConfig = field(default_factory=lambda: MAHConfig(account=123456789, verifyKey='VerifyKey'))
"""Mirai Api Http 配置"""
admin: AdminConfig = AdminConfig()
"""机器人管理相关配置"""
Expand Down
Loading

0 comments on commit 914c757

Please sign in to comment.