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