From 017d428db5f9f2c9c0d2ac902601310039d5ea21 Mon Sep 17 00:00:00 2001 From: Joshua B Date: Fri, 20 Sep 2019 11:15:41 +1000 Subject: [PATCH] Fix discord.Object type hinting docs discord.Object requires ID as an int not str --- discord/object.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/object.py b/discord/object.py index 1660171d1..34a3d3df9 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. """