add Discord4J Wrapper #14

Merged
tueem merged 13 commits from wrapper/d4j into dev 2025-02-19 12:43:38 +00:00
Showing only changes of commit ca822909e3 - Show all commits

View File

@ -67,7 +67,7 @@ public record EnumChoices(Class<? extends Enum<?>> enumClass, ChoiceType type, S
return null;
}
}
return choices.toArray(new SlashCommandOptionChoice[0]);
return choices.toArray(SlashCommandOptionChoice[]::new);
}
public static enum ChoiceType {