Added length to Emoji

This commit is contained in:
RogueException
2016-10-06 05:46:37 -03:00
parent b600763071
commit abd315ed21
2 changed files with 4 additions and 2 deletions

View File

@@ -7,14 +7,16 @@ namespace Discord
public ulong Id { get; }
public string Name { get; }
public int Index { get; }
public int Length { get; }
public string Url => CDN.GetEmojiUrl(Id);
internal Emoji(ulong id, string name, int index)
internal Emoji(ulong id, string name, int index, int length)
{
Id = id;
Name = name;
Index = index;
Length = length;
}
}
}