mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-31 18:19:59 +00:00
🔧 add config for lark users
This commit is contained in:
@ -136,7 +136,7 @@ class Bot(BaseBot):
|
||||
|
||||
@property
|
||||
def api_root(self) -> str:
|
||||
if self.feishu_config.region == "Lark" :
|
||||
if self.feishu_config.is_lark:
|
||||
return "https://open.larksuite.com/open-apis/"
|
||||
else:
|
||||
return "https://open.feishu.cn/open-apis/"
|
||||
|
Reference in New Issue
Block a user