Skip to content

Commit

Permalink
Fix EmbedBuilder#addField docs typo (#2487)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuryyx authored Jun 26, 2023
1 parent 043b0f5 commit b186f57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/net/dv8tion/jda/api/EmbedBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ public EmbedBuilder addField(@Nullable MessageEmbed.Field field)
* with {@link net.dv8tion.jda.api.EmbedBuilder#ZERO_WIDTH_SPACE}.
*
* <p><b><a href="https://raw.githubusercontent.com/discord-jda/JDA/assets/assets/docs/embeds/07-addField.png">Example of Inline</a></b>
* <p><b><a href="https://raw.githubusercontent.com/discord-jda/JDA/assets/assets/docs/embeds/08-addField.png">Example if Non-inline</a></b>
* <p><b><a href="https://raw.githubusercontent.com/discord-jda/JDA/assets/assets/docs/embeds/08-addField.png">Example of Non-inline</a></b>
*
* @param name
* the name of the Field, displayed in bold above the {@code value}.
Expand Down Expand Up @@ -857,7 +857,7 @@ public EmbedBuilder addField(@Nonnull String name, @Nonnull String value, boolea
* Adds a blank (empty) Field to the embed.
*
* <p><b><a href="https://raw.githubusercontent.com/discord-jda/JDA/assets/assets/docs/embeds/07-addField.png">Example of Inline</a></b>
* <p><b><a href="https://raw.githubusercontent.com/discord-jda/JDA/assets/assets/docs/embeds/08-addField.png">Example if Non-inline</a></b>
* <p><b><a href="https://raw.githubusercontent.com/discord-jda/JDA/assets/assets/docs/embeds/08-addField.png">Example of Non-inline</a></b>
*
* @param inline
* whether or not this field should display inline
Expand Down

0 comments on commit b186f57

Please sign in to comment.