mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
Abstract away cache. 2 implementations: redis and memory
This commit is contained in:
@@ -14,9 +14,9 @@ public partial class Games : NadekoModule<GamesService>
|
||||
private readonly IHttpClientFactory _httpFactory;
|
||||
private readonly Random _rng = new();
|
||||
|
||||
public Games(IDataCache data, IHttpClientFactory factory)
|
||||
public Games(IImageCache images, IHttpClientFactory factory)
|
||||
{
|
||||
_images = data.LocalImages;
|
||||
_images = images;
|
||||
_httpFactory = factory;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user