private static string GetEmoteUrl(EmoteInfo emote_info)
        {
            string reply = "";

            switch (emote_info.Type)
            {
            case EmoteType.Twitch:
                reply = "http://emote.3v.fi/2.0/" + emote_info.Id + ".png";
                break;

            case EmoteType.Bttv:
                reply = "https:" + Program.BttvTemplate.Replace("{{id}}", emote_info.Id).Replace("{{image}}", "2x");
                break;

            case EmoteType.Ffz:
                reply = "http://cdn.frankerfacez.com/emoticon/" + emote_info.Id + "/2";
                break;
            }

            return(reply);
        }
Beispiel #2
0
        private static string GetEmoteUrl(EmoteInfo emote_info)
        {
            string reply = "";
            switch (emote_info.Type)
            {
                case EmoteType.Twitch:
                    reply = "http://emote.3v.fi/2.0/" + emote_info.Id + ".png";
                    break;
                case EmoteType.Bttv:
                    reply = "https:" + Program.BttvTemplate.Replace("{{id}}", emote_info.Id).Replace("{{image}}", "2x");
                    break;
                case EmoteType.Ffz:
                    reply = "http://cdn.frankerfacez.com/emoticon/" + emote_info.Id + "/2";
                    break;
            }

            return reply;
        }