=> null; // k protected override void PopulateDictionary(JObject data) { foreach (JToken token in data["emotes"]) { EmoteDict.Add(token["code"].ToObject <string>(), token["id"].ToObject <string>()); } }
protected override void PopulateDictionary(JObject data) { foreach (JToken token in data["emotes"]) { EmoteDict.Add(token["code"].ToObject <string>(), token["id"].ToObject <string>()); } Logger.FormattedWrite(GetType().Name, $"Loaded {EmoteDict.Count} bttv emotes.", ConsoleColor.DarkGreen); }
protected override void PopulateDictionary(JObject data) { foreach (JToken token in data["emoticons"]) { EmoteDict.Add(token["regex"].ToObject <string>(), ((JArray)token["images"]).Children().First()["url"].ToObject <string>()); } Logger.FormattedWrite( GetType().Name, $"Loaded {EmoteDict.Count} global twitch emotes.", ConsoleColor.DarkGreen); }