Expose the 'fields' collection on EmbedBuilder (#603)

* remove tip in docs about SocketEntity.Discord

* Expose the 'Fields' collection on EmbedBuilder

After some discussion I decided that there was really no reason to keep this private, and it didn't really go along with the rest of the design of the EmbedBuilder.

This is NOT a breaking change.

Exposing this property should not have any negative effects.

* Don't allow EmbedBuilder's Fields to be set to null
This commit is contained in:
Christopher F
2017-05-04 11:53:40 -04:00
committed by RogueException
parent 576a52cdc6
commit d189bb9748
2 changed files with 18 additions and 12 deletions

View File

@@ -35,9 +35,6 @@ you to easily navigate to an entity's parent or children. As explained
above, you will sometimes need to cast to a more detailed version of
an entity to navigate to its parent.
All socket entities have a `Discord` property, which will allow you
to access the parent `DiscordSocketClient`.
### Accessing Entities
The most basic forms of entities, `SocketGuild`, `SocketUser`, and