Don't use embeds for !dog

This commit is contained in:
runebaas 2020-11-02 18:01:57 +01:00
parent ffab56d4a5
commit 2fb815bc97
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6

View file

@ -23,11 +23,7 @@ namespace Geekbot.Bot.Commands.Randomness.Dog
try try
{ {
var response = await HttpAbstractions.Get<DogResponseDto>(new Uri("http://random.dog/woof.json")); var response = await HttpAbstractions.Get<DogResponseDto>(new Uri("http://random.dog/woof.json"));
var eb = new EmbedBuilder await ReplyAsync(response.Url);
{
ImageUrl = response.Url
};
await ReplyAsync("", false, eb.Build());
} }
catch (Exception e) catch (Exception e)
{ {