diff --git a/src/Discord.Net.Core/Entities/Emotes/Emoji.cs b/src/Discord.Net.Core/Entities/Emotes/Emoji.cs index 76eef58c8..c2dfc31ad 100644 --- a/src/Discord.Net.Core/Entities/Emotes/Emoji.cs +++ b/src/Discord.Net.Core/Entities/Emotes/Emoji.cs @@ -6,6 +6,14 @@ public class Emoji : IEmote { // TODO: need to constrain this to unicode-only emojis somehow + + /// + /// The unicode representation of this emote. + /// + public string Name { get; } + + public override string ToString() => Name; + /// /// Creates a unicode emoji. /// @@ -15,13 +23,6 @@ Name = unicode; } - /// - /// The unicode representation of this emote. - /// - public string Name { get; } - - public override string ToString() => Name; - public override bool Equals(object other) { if (other == null) return false;