Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Condense redundant AddField overloads in EmbedBuilder #790

Merged
merged 2 commits into from
Aug 29, 2017

Conversation

MarkusG
Copy link
Contributor

@MarkusG MarkusG commented Aug 12, 2017

It seems redundant to have a (string, string, bool) overload when EmbedFieldBuilder takes an object anyway. I also don't know why the (string, object) overload has no parameter to specify inline where the (string, string, bool) one does.

@MarkusG MarkusG changed the title Remove extra AddField overload in EmbedBuilder Condense redundant AddField overloads in EmbedBuilder Aug 12, 2017
@Nikey646
Copy link
Contributor

Doesn't this make the AddInlineField method redundant as well?

@MarkusG
Copy link
Contributor Author

MarkusG commented Aug 12, 2017

Good point. I've removed AddInlineField() as well.

@foxbot foxbot merged commit 479361b into discord-net:dev Aug 29, 2017
FiniteReality pushed a commit to FiniteReality/Discord.Net that referenced this pull request May 5, 2018
* Remove extra AddField overload in EmbedBuilder

* Remove AddInlineField()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants