Skip to content

Commit 317a895

Browse files
authored
Fix typo in getButtonById javadoc. (#2792)
1 parent 93e788c commit 317a895

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/dv8tion/jda/api/entities/Message.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ default List<Button> getButtons()
762762
* @throws IllegalArgumentException
763763
* If the id is null
764764
*
765-
* @return The {@link Button} or null of no button with that ID is present on this message
765+
* @return The {@link Button} or null if no button with that ID is present on this message
766766
*/
767767
@Nullable
768768
default Button getButtonById(@Nonnull String id)

0 commit comments

Comments
 (0)