diff options
| author | ReinaSakuraba <[email protected]> | 2017-10-02 13:38:05 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-10-02 13:38:05 -0700 |
| commit | 13632faf97de7a6c6c61407250dda025f3e3578c (patch) | |
| tree | c34d1b88a15af51a71336bd2fbae90b4390cf8fb | |
| parent | Move pre-emptive message to DEBUG log level. (diff) | |
| download | discord.py-13632faf97de7a6c6c61407250dda025f3e3578c.tar.xz discord.py-13632faf97de7a6c6c61407250dda025f3e3578c.zip | |
Fix AppInfo.id being a string
| -rw-r--r-- | discord/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py index 17f3946d..deede9cc 100644 --- a/discord/client.py +++ b/discord/client.py @@ -959,7 +959,7 @@ class Client: Retrieving the information failed somehow. """ data = yield from self.http.application_info() - return AppInfo(id=data['id'], name=data['name'], + return AppInfo(id=int(data['id']), name=data['name'], description=data['description'], icon=data['icon'], owner=User(state=self._connection, data=data['owner'])) |