Remove debug informations

This commit is contained in:
Infi
2024-05-08 22:20:22 +02:00
parent 6abd9fd959
commit d0212023eb
+1 -6
View File
@@ -60,13 +60,8 @@ public static class EmoteCache
.ReadAsStringAsync() .ReadAsStringAsync()
.Result; .Result;
Plugin.Log.Information(top100); foreach (var emote in JsonSerializer.Deserialize<List<Top100>>(top100)!)
var json = JsonSerializer.Deserialize<List<Top100>>(top100);
foreach (var emote in json)
{
Plugin.Log.Information($"emote {emote.Emote.Code}");
Cache.TryAdd(emote.Emote.Code, emote.Emote); Cache.TryAdd(emote.Emote.Code, emote.Emote);
}
EmoteCodeArray = Cache.Keys.ToArray(); EmoteCodeArray = Cache.Keys.ToArray();
IsBTTVDataLoaded = true; IsBTTVDataLoaded = true;