fix: Changed Emote equals to not compare emote names (#1316)
In reference to what was discussed in the dnet channel.
This commit is contained in:
committed by
Christopher F
parent
1f55f01866
commit
abf3e905f2
@@ -50,7 +50,7 @@ namespace Discord
|
||||
var otherEmote = other as Emote;
|
||||
if (otherEmote == null) return false;
|
||||
|
||||
return string.Equals(Name, otherEmote.Name) && Id == otherEmote.Id;
|
||||
return Id == otherEmote.Id;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
Reference in New Issue
Block a user