mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
[store] crappy bypass of tg cache, to fix random capybara
This commit is contained in:
@@ -7,6 +7,6 @@ public class CapyApiService : IRandomMediaService
|
|||||||
public StoreItem StoreItem { get; } = new("capybara", "Капибара", 60, 25);
|
public StoreItem StoreItem { get; } = new("capybara", "Капибара", 60, 25);
|
||||||
public async Task<RandomMedia> GetRandomMediaAsync()
|
public async Task<RandomMedia> GetRandomMediaAsync()
|
||||||
{
|
{
|
||||||
return new RandomMedia("https://api.capy.lol/v1/capybara");
|
return new RandomMedia($"https://api.capy.lol/v1/capybara?{new Random().Next(0, 10000)}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user