Update bot.py

This commit is contained in:
mri-moe 2021-08-16 16:24:33 +08:00 committed by GitHub
parent e4d1462585
commit 45cec05bbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,9 +137,9 @@ class Bot(BaseBot):
@property
def api_root(self) -> str:
if self.feishu_config.region == "Lark" :
return "https://open.larksuite.com/open-apis/"
return "https://open.larksuite.com/open-apis/"
else:
return "https://open.feishu.cn/open-apis/"
return "https://open.feishu.cn/open-apis/"
@classmethod
def register(cls, driver: Driver, config: "Config"):