internal string GetUrl() { if (!IsGuildEmoji) { if (Neo.IsEmoji(Nome)) { List <string> hexSeq = new List <string>(); foreach (uint seq in Nome.AsUnicodeSequence().AsUtf32) { hexSeq.Add(seq.ToString("x")); } return($"https://twemoji.maxcdn.com/2/72x72/{string.Join('-', hexSeq)}.png"); } } if (ID == 0) { throw new Exception("Emoji invalido"); } if (Animated) { return(string.Format(BaseUrl, $"{ID.ToString(CultureInfo.InvariantCulture)}.gif")); } else { return(string.Format(BaseUrl, $"{ID.ToString(CultureInfo.InvariantCulture)}.png")); } }