From b7c90a5e3dd39e707dab50b474afa1554f939200 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Fri, 2 Dec 2016 01:28:54 -0500 Subject: [PATCH] Fix role comparisons. Fixes #409 --- discord/role.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/role.py b/discord/role.py index 9e3d0f3c5..c375c228d 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