aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-05-15 21:31:38 -0400
committerRapptz <[email protected]>2017-05-15 21:31:38 -0400
commit7a06f0f3bfe1a340197f76e4e49cee423c107d65 (patch)
treeb72ec0e46611f50ef407b49d91912d5a1ef35607
parentAdd helpful admonition CSS. (diff)
downloaddiscord.py-7a06f0f3bfe1a340197f76e4e49cee423c107d65.tar.xz
discord.py-7a06f0f3bfe1a340197f76e4e49cee423c107d65.zip
Client.get_user_info uses int for IDs not str.
Realistically both will work but let's not say that.
-rw-r--r--discord/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py
index db69ccac..cc6c0249 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -892,7 +892,7 @@ class Client:
Parameters
-----------
- user_id: str
+ user_id: int
The user's ID to fetch from.
Returns