Abstract away cache. 2 implementations: redis and memory

This commit is contained in:
Kwoth
2022-06-23 13:07:45 +00:00
parent 1716c69132
commit 210da263ad
75 changed files with 11525 additions and 1547 deletions

View File

@@ -1,11 +1,12 @@
#nullable disable
using Newtonsoft.Json;
using System.Text.Json.Serialization;
namespace NadekoBot.Common.Pokemon;
public class SearchPokemon
{
[JsonProperty("num")]
[JsonPropertyName("num")]
public int Id { get; set; }
public string Species { get; set; }