Added EmbedBuilder.AddField(EmbedFieldBuilder)

This commit is contained in:
RogueException
2017-02-07 21:13:26 -04:00
parent 0cf5493c61
commit ea3a8f6a01

View File

@@ -92,6 +92,11 @@ namespace Discord
return this; return this;
} }
public EmbedBuilder AddField(EmbedFieldBuilder field)
{
_fields.Add(field);
return this;
}
public EmbedBuilder AddField(Action<EmbedFieldBuilder> action) public EmbedBuilder AddField(Action<EmbedFieldBuilder> action)
{ {
var field = new EmbedFieldBuilder(); var field = new EmbedFieldBuilder();