blob: 471120275e074cdb0900af609d012e991f0704c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package net.tylermurphy.ken.util;
import net.dv8tion.jda.api.interactions.commands.OptionType;
import java.lang.annotation.*;
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Repeatable(Selections.class)
public @interface Selection {
OptionType type();
String name();
String description();
String[] choices();
boolean required() default false;
}
|