Sort /api enum list alphabetically

8ae915517d697c184cd0ce9e05e3b88e58900fff

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Showing whitespace changes
public/scripts/slash-commands.js+1 -1
@@ -320,7 +320,7 @@ export function initDefaultSlashCommands() {
320320 SlashCommandArgument.fromProps({
321321 description: 'API to connect to',
322322 typeList: [ARGUMENT_TYPE.STRING],
323323 enumList: Object.entries(CONNECT_API_MAP).sort(([a], [b]) => a.localeCompare(b)).map(([api, { selected }]) =>
324324 new SlashCommandEnumValue(api, selected, enumTypes.getBasedOnIndex(UNIQUE_APIS.findIndex(x => x === selected)),
325325 selected[0].toUpperCase() ?? enumIcons.default)),
326326 }),