We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5307334 commit f000da9Copy full SHA for f000da9
src/main/java/top/focess/qq/api/command/CommandArgument.java
@@ -28,6 +28,10 @@ public static CommandArgument<Long> ofLong() {
28
return new CommandArgument<>(DataConverter.LONG_DATA_CONVERTER,null);
29
}
30
31
+ public static CommandArgument<Integer> ofInt() {
32
+ return new CommandArgument<>(DataConverter.INTEGER_DATA_CONVERTER,null);
33
+ }
34
+
35
public boolean isNullable() {
36
return isNullable;
37
0 commit comments