public async Task GeneratePokeImageAsync([Summary("nr grafiki")] int index) { try { var reader = new JsonFileReader($"./Pictures/Poke/List.json"); var images = reader.Load <List <SafariImage> >(); var character = (await _shClient.GetCharacterInfoAsync(2)).Body; var channel = Context.Channel as ITextChannel; _ = await _waifu.GetSafariViewAsync(images[index], _waifu.GenerateNewCard(null, character), channel); } catch (Exception ex) { await ReplyAsync("", embed : $"Coś poszło nie tak: {ex.Message}".ToEmbedMessage(EMType.Error).Build()); } }