mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-02-17 16:20:05 +08:00
Update bot.py
This commit is contained in:
parent
e4d1462585
commit
45cec05bbc
@ -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"):
|
||||
|
Loading…
x
Reference in New Issue
Block a user