Skip to content

Commit

Permalink
Fix typo in getButtonById javadoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
CasieBarie committed Jan 12, 2025
1 parent 93e788c commit ba53479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/dv8tion/jda/api/entities/Message.java
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ default List<Button> getButtons()
* @throws IllegalArgumentException
* If the id is null
*
* @return The {@link Button} or null of no button with that ID is present on this message
* @return The {@link Button} or null if no button with that ID is present on this message
*/
@Nullable
default Button getButtonById(@Nonnull String id)
Expand Down

0 comments on commit ba53479

Please sign in to comment.