feat: add token field to config
parent
4549f92fee
commit
bc13a26127
|
|
@ -28,6 +28,9 @@ class NapcatServerConfig(ConfigBase):
|
|||
port: int = 8095
|
||||
"""Napcat服务端的端口号"""
|
||||
|
||||
token: str = ""
|
||||
"""Napcat服务端的Token,若无则留空"""
|
||||
|
||||
heartbeat_interval: int = 30
|
||||
"""Napcat心跳间隔时间,单位为秒"""
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue