From c5e36caabc8bd71bb87f14b2948078994e42fbdb Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Sun, 11 Jun 2017 16:31:43 +0200 Subject: [PATCH] nsfw searches now post a link if it's a webm --- src/NadekoBot/Modules/NSFW/NSFW.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NadekoBot/Modules/NSFW/NSFW.cs b/src/NadekoBot/Modules/NSFW/NSFW.cs index 8a5182d2..d09467dd 100644 --- a/src/NadekoBot/Modules/NSFW/NSFW.cs +++ b/src/NadekoBot/Modules/NSFW/NSFW.cs @@ -59,7 +59,7 @@ namespace NadekoBot.Modules.NSFW await channel.EmbedAsync(new EmbedBuilder().WithOkColor() .WithImageUrl(link) - .WithDescription($"{GetText("tag")}: " + tag)) + .WithDescription($"[{GetText("tag")}: {tag}]({link})")) .ConfigureAwait(false); } @@ -297,7 +297,7 @@ namespace NadekoBot.Modules.NSFW await ReplyErrorLocalized("not_found").ConfigureAwait(false); else await Context.Channel.EmbedAsync(new EmbedBuilder().WithOkColor() - .WithDescription(Context.User + " " + tag) + .WithDescription($"{Context.User} [{tag}]({url}) ") .WithImageUrl(url) .WithFooter(efb => efb.WithText(type.ToString()))).ConfigureAwait(false); }