Browse Source
Changed Emote equals to not compare emote names
In reference to what was discussed in the dnet channel.
pull/1316/head
Casino Boyale
GitHub
6 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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; |
|
|
|
} |
|
|
|
|
|
|
|
/// <inheritdoc /> |
|
|
|