add Discord4J Wrapper #14
@ -67,7 +67,7 @@ public record EnumChoices(Class<? extends Enum<?>> enumClass, ChoiceType type, S
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return choices.toArray(new SlashCommandOptionChoice[0]);
|
return choices.toArray(SlashCommandOptionChoice[]::new);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static enum ChoiceType {
|
public static enum ChoiceType {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user