safebooru shows direct link to the image now too, closes #1212
This commit is contained in:
parent
c5e36caabc
commit
8b7b534619
@ -782,10 +782,11 @@ namespace NadekoBot.Modules.Searches
|
||||
await channel.SendErrorAsync(umsg.Author.Mention + " " + GetText("no_results"));
|
||||
else
|
||||
await channel.EmbedAsync(new EmbedBuilder().WithOkColor()
|
||||
.WithDescription(umsg.Author.Mention + " " + tag)
|
||||
.WithDescription($"{umsg.Author.Mention} [{tag}]({url})")
|
||||
.WithImageUrl(url)
|
||||
.WithFooter(efb => efb.WithText(type.ToString()))).ConfigureAwait(false);
|
||||
}
|
||||
|
||||
public async Task<bool> ValidateQuery(IMessageChannel ch, string query)
|
||||
{
|
||||
if (!string.IsNullOrWhiteSpace(query)) return true;
|
||||
|
Loading…
Reference in New Issue
Block a user