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:
Casino Boyale
2019-06-03 18:14:20 +01:00
committed by Christopher F
parent 1f55f01866
commit abf3e905f2

View File

@@ -50,7 +50,7 @@ namespace Discord
var otherEmote = other as Emote; var otherEmote = other as Emote;
if (otherEmote == null) return false; if (otherEmote == null) return false;
return string.Equals(Name, otherEmote.Name) && Id == otherEmote.Id; return Id == otherEmote.Id;
} }
/// <inheritdoc /> /// <inheritdoc />