This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
youys
/
Discord.Net
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
34
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
fix: Changed Emote equals to not compare emote names (
#1316
)
In reference to what was discussed in the dnet channel.
pull/1317/head
Casino Boyale
Christopher F
6 years ago
parent
1f55f01866
commit
abf3e905f2
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/Discord.Net.Core/Entities/Emotes/Emote.cs
+ 1
- 1
src/Discord.Net.Core/Entities/Emotes/Emote.cs
View File
@@ -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 />
Write
Preview
Loading…
Cancel
Save