From bc13a26127a4f4b7ef2e8a754823d9d4e6698407 Mon Sep 17 00:00:00 2001 From: CKylinMC Date: Wed, 10 Sep 2025 18:07:14 +0800 Subject: [PATCH] feat: add token field to config --- src/config/official_configs.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/config/official_configs.py b/src/config/official_configs.py index d652f35..668ab50 100644 --- a/src/config/official_configs.py +++ b/src/config/official_configs.py @@ -28,6 +28,9 @@ class NapcatServerConfig(ConfigBase): port: int = 8095 """Napcat服务端的端口号""" + token: str = "" + """Napcat服务端的Token,若无则留空""" + heartbeat_interval: int = 30 """Napcat心跳间隔时间,单位为秒"""