Upgrade to discord.net 2.0-beta

This commit is contained in:
runebaas 2018-08-25 21:40:04 +02:00
parent 948c48909e
commit 8cff234bc6
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6
16 changed files with 32 additions and 12 deletions

View file

@ -73,11 +73,9 @@ namespace Geekbot.net.Commands.Randomness
await ReplyAsync("", false, Eb(_mediaProvider.GetFox()));
}
private EmbedBuilder Eb(string image)
private Embed Eb(string image)
{
var eb = new EmbedBuilder();
eb.ImageUrl = image;
return eb;
return new EmbedBuilder {ImageUrl = image}.Build();
}
}
}