From e0a7988c1a0e40a2e8d80effa52fe3bb26ae17e6 Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Tue, 20 Feb 2024 20:59:59 +0800 Subject: [PATCH] =?UTF-8?q?0.3.3,=20=E4=BF=AE=E5=A4=8D=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=B8=8D=E5=85=BC=E5=AE=B9=E9=97=AE=E9=A2=98?= =?UTF-8?q?=EF=BC=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data_struct.py | 4 +++- main.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/data_struct.py b/data_struct.py index 104a4f9..56d74d0 100644 --- a/data_struct.py +++ b/data_struct.py @@ -77,11 +77,13 @@ class NewMessage(Options): class BotConfig(Options): name = 'icalingua bot config' # _check_filled = True - host: str private_key: str + host: str self_id: int notice_room: List[int] notice_start: bool = False + admin_list: List[int] + py_plugin_path: str def init(self, **kwargs) -> None: if self.notice_room is None: diff --git a/main.py b/main.py index 88d0ecc..2cdc36f 100644 --- a/main.py +++ b/main.py @@ -6,7 +6,7 @@ from lib_not_dr.loggers import config from data_struct import get_config, BotConfig, BotStatus -_version_ = "0.3.2" +_version_ = "0.3.3" logger = config.get_logger("bot")