feat: add token field to config

pull/57/head
CKylinMC 2025-09-10 18:07:14 +08:00
parent 4549f92fee
commit bc13a26127
1 changed files with 3 additions and 0 deletions

View File

@ -28,6 +28,9 @@ class NapcatServerConfig(ConfigBase):
port: int = 8095
"""Napcat服务端的端口号"""
token: str = ""
"""Napcat服务端的Token若无则留空"""
heartbeat_interval: int = 30
"""Napcat心跳间隔时间单位为秒"""