mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-06-20 11:27:56 +00:00
Update bot.py
This commit is contained in:
parent
e4d1462585
commit
45cec05bbc
@ -137,9 +137,9 @@ class Bot(BaseBot):
|
|||||||
@property
|
@property
|
||||||
def api_root(self) -> str:
|
def api_root(self) -> str:
|
||||||
if self.feishu_config.region == "Lark" :
|
if self.feishu_config.region == "Lark" :
|
||||||
return "https://open.larksuite.com/open-apis/"
|
return "https://open.larksuite.com/open-apis/"
|
||||||
else:
|
else:
|
||||||
return "https://open.feishu.cn/open-apis/"
|
return "https://open.feishu.cn/open-apis/"
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def register(cls, driver: Driver, config: "Config"):
|
def register(cls, driver: Driver, config: "Config"):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user