Change and add params in AppInfo and PartialAppInfo

This commit is contained in:
Andrin S authored and GitHub committed 2023-03-30 08:37:34 -04:00
1 parent 2ddb9d22ba
commit 4828355f9e
3 files changed
+50 -11

No files matched your search

-2
View File
@@ -2486,8 +2486,6 @@ class Client:
The bot's application information.
"""
data = await self.http.application_info()
if 'rpc_origins' not in data:
data['rpc_origins'] = None
return AppInfo(self._connection, data)
async def fetch_user(self, user_id: int, /) -> User: