Annotation Interface SelectOption
@Repeatable(com.github.kaktushose.jda.commands.annotations.internal.SelectOptionContainer.class)
@Target(METHOD)
@Retention(RUNTIME)
public @interface SelectOption
Used to define
SelectOptions
for StringSelectMenu
s.- See Also:
-
Required Element Summary
-
Optional Element Summary
-
Element Details
-
label
-
value
-
description
-
emoji
-
isDefault
boolean isDefaultGets whether this option is a default option.- Returns:
true
if this SelectOption is a default option
- Default:
false
-