websocket api

This commit is contained in:
yanyongyu
2020-08-13 15:23:04 +08:00
parent 0e73d4ce20
commit e7f9b2c229
10 changed files with 141 additions and 35 deletions

View File

@ -98,7 +98,8 @@ class Config(BaseConfig):
debug: bool = False
# bot connection configs
api_root: Dict[int, str] = {}
api_root: Dict[str, str] = {}
api_timeout: float = 60.
access_token: Optional[str] = None
# bot runtime configs