diff --git a/src/NadekoBot/Modules/Searches/Crypto/CryptoService.cs b/src/NadekoBot/Modules/Searches/Crypto/CryptoService.cs index 35b5837c4..e8af28ddf 100644 --- a/src/NadekoBot/Modules/Searches/Crypto/CryptoService.cs +++ b/src/NadekoBot/Modules/Searches/Crypto/CryptoService.cs @@ -230,7 +230,8 @@ public class CryptoService : INService var result = await _cache.GetOrAddAsync>(GetTopCoinsKey(), async () => await http.GetFromJsonAsync>( "https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&order=market_cap_desc&per_page=250") - ?? []); + ?? [], + expiry: TimeSpan.FromHours(1)); return result!.Skip(page * 10).Take(10).ToList(); }