summaryrefslogtreecommitdiff
path: root/src/main/java/net/tylermurphy/ken/command/annotation/Selection.java
blob: e97f810eae6aeaf6dc6ab2dfa68e136c288b71b3 (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(Selections.class)
public @interface Selection {
    OptionType type();
    String name();
    String description();
    String[] choices();
    boolean required() default false;
}