mirror of
http://shenjack.top:5100/shenjack/icalingua-python-bot.git
synced 2024-11-23 12:41:05 +08:00
0.3.3, 修复配置文件不兼容问题(
This commit is contained in:
parent
34ed6d1841
commit
e0a7988c1a
|
@ -77,11 +77,13 @@ class NewMessage(Options):
|
||||||
class BotConfig(Options):
|
class BotConfig(Options):
|
||||||
name = 'icalingua bot config'
|
name = 'icalingua bot config'
|
||||||
# _check_filled = True
|
# _check_filled = True
|
||||||
host: str
|
|
||||||
private_key: str
|
private_key: str
|
||||||
|
host: str
|
||||||
self_id: int
|
self_id: int
|
||||||
notice_room: List[int]
|
notice_room: List[int]
|
||||||
notice_start: bool = False
|
notice_start: bool = False
|
||||||
|
admin_list: List[int]
|
||||||
|
py_plugin_path: str
|
||||||
|
|
||||||
def init(self, **kwargs) -> None:
|
def init(self, **kwargs) -> None:
|
||||||
if self.notice_room is None:
|
if self.notice_room is None:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user