-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
deb8ac8
commit b880043
Showing
4 changed files
with
53 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
core/src/main/java/com/javadiscord/jdi/internal/ReflectiveCommandOption.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.javadiscord.jdi.internal; | ||
|
||
public interface ReflectiveCommandOption { | ||
String name(); | ||
|
||
String description(); | ||
|
||
Enum<?> type(); | ||
|
||
Object[] choices(); | ||
|
||
boolean required(); | ||
} |
7 changes: 7 additions & 0 deletions
7
core/src/main/java/com/javadiscord/jdi/internal/ReflectiveCommandOptionChoice.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package com.javadiscord.jdi.internal; | ||
|
||
public interface ReflectiveCommandOptionChoice { | ||
String name(); | ||
|
||
String value(); | ||
} |