public Embed CreateFinalEmbed(Features.NSFW.Response.Doujinshi result, Func<IGuild, string, string> downloadInfo) { return new EmbedBuilder() { Color = new Color(255, 20, 147), Description = string.Join(", ", result.tags), Title = result.title, Url = result.url, ImageUrl = result.imageUrl, Footer = new EmbedFooterBuilder() { Text = Sentences.ClickFull(Context.Guild) + (downloadInfo == null ? "" : "\n\n" + downloadInfo(Context.Guild, result.id.ToString())) } }.Build(); }
public Embed CreateFinalEmbed(Features.NSFW.Response.Doujinshi result, ulong guildId) { return(new EmbedBuilder() { Color = new Color(255, 20, 147), Description = string.Join(", ", result.tags), Title = result.title, Url = result.url, ImageUrl = result.imageUrl, Footer = new EmbedFooterBuilder() { Text = Sentences.ClickFull(guildId) } }.Build()); }