Remove int() support

This commit is contained in:
iDutchy
2020-10-17 18:45:59 -05:00
parent b9642f785e
commit 4010f09052
6 changed files with 0 additions and 21 deletions

View File

@@ -92,9 +92,6 @@ class BaseUser(_BaseUser):
def __str__(self):
return '{0.name}#{0.discriminator}'.format(self)
def __int__(self):
return self.id
def __eq__(self, other):
return isinstance(other, _BaseUser) and other.id == self.id