aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua B <[email protected]>2019-09-20 11:15:41 +1000
committerDanny <[email protected]>2019-09-19 21:15:41 -0400
commit017d428db5f9f2c9c0d2ac902601310039d5ea21 (patch)
tree9ef506465df27ec9de9c7da87b93adc636179412
parent[docs] You can upload gifs using guild.edit() (diff)
downloaddiscord.py-017d428db5f9f2c9c0d2ac902601310039d5ea21.tar.xz
discord.py-017d428db5f9f2c9c0d2ac902601310039d5ea21.zip
Fix discord.Object type hinting docs
discord.Object requires ID as an int not str
-rw-r--r--discord/object.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/object.py b/discord/object.py
index 1660171d..34a3d3df 100644
--- a/discord/object.py
+++ b/discord/object.py
@@ -57,7 +57,7 @@ class Object(Hashable):
Attributes
-----------
- id: :class:`str`
+ id: :class:`int`
The ID of the object.
"""