diff options
| author | Rapptz <[email protected]> | 2016-12-02 01:28:54 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2016-12-02 01:28:54 -0500 |
| commit | b7c90a5e3dd39e707dab50b474afa1554f939200 (patch) | |
| tree | 1de2bc5877326875ae52e96428450d46b91c8945 | |
| parent | Make FAQ use change_presence instead of change_status. (diff) | |
| download | discord.py-b7c90a5e3dd39e707dab50b474afa1554f939200.tar.xz discord.py-b7c90a5e3dd39e707dab50b474afa1554f939200.zip | |
Fix role comparisons.
Fixes #409
| -rw-r--r-- | discord/role.py | 2 |
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 |