We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
getButtonById
1 parent 93e788c commit 317a895Copy full SHA for 317a895
src/main/java/net/dv8tion/jda/api/entities/Message.java
@@ -762,7 +762,7 @@ default List<Button> getButtons()
762
* @throws IllegalArgumentException
763
* If the id is null
764
*
765
- * @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
766
*/
767
@Nullable
768
default Button getButtonById(@Nonnull String id)
0 commit comments