nsfw searches now post a link if it's a webm

This commit is contained in:
Master Kwoth 2017-06-11 16:31:43 +02:00
parent e69776beb1
commit c5e36caabc

View File

@ -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);
}