aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/role.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/role.py b/discord/role.py
index 9e3d0f3c..c375c228 100644
--- a/discord/role.py
+++ b/discord/role.py
@@ -99,7 +99,7 @@ class Role(Hashable):
return True
if self.position == other.position:
- return self.id > other.id
+ return int(self.id) > int(other.id)
return False