SendMessage should accept EmbedBuilder directly

This commit is contained in:
RogueException
2016-11-14 20:05:43 -04:00
parent ce05707590
commit c2722cf7c4
15 changed files with 26 additions and 26 deletions

View File

@@ -6,7 +6,7 @@ namespace Discord.Commands
{
public CommandContext Context { get; internal set; }
protected virtual async Task<IUserMessage> ReplyAsync(string message, bool isTTS = false, API.Embed embed = null, RequestOptions options = null)
protected virtual async Task<IUserMessage> ReplyAsync(string message, bool isTTS = false, EmbedBuilder embed = null, RequestOptions options = null)
{
return await Context.Channel.SendMessageAsync(message, isTTS, embed, options).ConfigureAwait(false);
}