Upgrade to discord.net 2.0-beta
This commit is contained in:
parent
948c48909e
commit
8cff234bc6
16 changed files with 32 additions and 12 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue