public override registerApplicationCommands(registry: Command.Registry) {
registry.registerChatInputCommand((builder) => applyLocalizedBuilder(builder, 'commands/help:name', 'commands/help:description').addStringOption(
(option) => applyLocalizedBuilder(option, 'commands/help:options.category', 'commands/help:options.category.description').addChoices(
{ name: 'commands/help:choices.general', value: 'general' },
{ name: 'commands/help:choices.profile', value: 'profile' },
)
)
);
}
public override registerApplicationCommands(registry: Command.Registry) {
registry.registerChatInputCommand((builder) => applyLocalizedBuilder(builder, 'commands/help:name', 'commands/help:description').addStringOption(
(option) => applyLocalizedBuilder(option, 'commands/help:options.category', 'commands/help:options.category.description').addChoices(
{ name: 'commands/help:choices.general', value: 'general' },
{ name: 'commands/help:choices.profile', value: 'profile' },
)
)
);
}