chore: Hello LangBot !

This commit is contained in:
Junyan Qin
2024-11-16 17:57:39 +08:00
parent 491d977d9e
commit 9fc891ec01
14 changed files with 25 additions and 31 deletions

View File

@@ -48,7 +48,7 @@ class AnnouncementManager:
) -> list[Announcement]:
"""获取所有公告"""
resp = requests.get(
url="https://api.github.com/repos/RockChinQ/QChatGPT/contents/res/announcement.json",
url="https://api.github.com/repos/RockChinQ/LangBot/contents/res/announcement.json",
proxies=self.ap.proxy_mgr.get_forward_proxies(),
timeout=5
)

View File

@@ -38,7 +38,7 @@ class VersionManager:
async def get_release_list(self) -> list:
"""获取发行列表"""
rls_list_resp = requests.get(
url="https://api.github.com/repos/RockChinQ/QChatGPT/releases",
url="https://api.github.com/repos/RockChinQ/LangBot/releases",
proxies=self.ap.proxy_mgr.get_forward_proxies(),
timeout=5
)