From f74047a92eb7366c1dbbd7d38b025531696c1363 Mon Sep 17 00:00:00 2001 From: Willy <19799671+Willy-C@users.noreply.github.com> Date: Thu, 12 Jan 2023 23:39:07 -0500 Subject: [PATCH] Remove redundant int cast --- discord/role.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/role.py b/discord/role.py index 14036a440..adb8cf69d 100644 --- a/discord/role.py +++ b/discord/role.py @@ -252,7 +252,7 @@ class Role(Hashable): return True if self.position == other.position: - return int(self.id) > int(other.id) + return self.id > other.id return False