From 1723a788b6f2e1baae14c0a11db23ddacdf7873e Mon Sep 17 00:00:00 2001 From: Casino Boyale Date: Mon, 3 Jun 2019 18:10:26 +0100 Subject: [PATCH] Changed Emote equals to not compare emote names In reference to what was discussed in the dnet channel. --- src/Discord.Net.Core/Entities/Emotes/Emote.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Discord.Net.Core/Entities/Emotes/Emote.cs b/src/Discord.Net.Core/Entities/Emotes/Emote.cs index bebd9fa4f..97fadbcc1 100644 --- a/src/Discord.Net.Core/Entities/Emotes/Emote.cs +++ b/src/Discord.Net.Core/Entities/Emotes/Emote.cs @@ -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; } ///