mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
feat(store): code cleanup, make some fund with "unlucky" members
This commit is contained in:
@@ -135,7 +135,7 @@ public class Store : CommonHandler
|
||||
|
||||
private async Task PerformPurchase(IRandomMediaService mediaService, int messageId)
|
||||
{
|
||||
var randomMedia = await mediaService!.GetRandomMediaAsync();
|
||||
var randomMedia = await mediaService!.GetRandomMediaAsync(Chat, From);
|
||||
var file = randomMedia.File;
|
||||
|
||||
switch (randomMedia.Type)
|
||||
|
||||
Reference in New Issue
Block a user