From 394e0aa4d19fe5bc30d47cfcc30423e18186770c Mon Sep 17 00:00:00 2001 From: RogueException Date: Thu, 29 Jun 2017 18:06:12 -0300 Subject: [PATCH] Reorganized properties in Emoji.cs --- src/Discord.Net.Core/Entities/Emotes/Emoji.cs | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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;