public NsfwModule(HttpClient httpClient, Random random, NSFWService nsfwService, KSoft kSoft, E621 e621) { _httpClient = httpClient; _random = random; _nsfwService = nsfwService; _kSoft = kSoft; _e621 = e621; }
public async Task E621Async([Remainder] string tag) { var link = await NSFWService.GetE621File(tag); while (link.Contains("preview") == true) { link = await NSFWService.GetE621File(tag); await ReplyAsync(link); break; } }
public E621(NSFWService nsfwService) => _nsfwService = nsfwService;
public NsfwModule(HttpClient httpClient, Random random, NSFWService nsfwService) { _httpClient = httpClient; _random = random; _nsfwService = nsfwService; }
public async Task Rule34Async([Remainder] string tag) { await ReplyAsync(await NSFWService.GetRule34File(tag)); }