|
|
@ -166,7 +166,7 @@ class Member(discord.abc.Messageable): |
|
|
|
' bot={1.bot} nick={0.nick!r} guild={0.guild!r}>'.format(self, self._user) |
|
|
|
|
|
|
|
def __eq__(self, other): |
|
|
|
return isinstance(other, Member) and other._user.id == self._user.id and self.guild.id == other.guild.id |
|
|
|
return isinstance(other, (BaseUser, Member)) and other.id == self.id |
|
|
|
|
|
|
|
def __ne__(self, other): |
|
|
|
return not self.__eq__(other) |
|
|
|