diff --git a/commands/bassboost.mjs b/commands/bassboost.mjs index e0eb123..9550256 100644 --- a/commands/bassboost.mjs +++ b/commands/bassboost.mjs @@ -55,16 +55,11 @@ export const command = new CommandBuilder() .setName("bassboost") .setDescription("Apply a low, medium, or hard bass boost equalizer effect.", "commands.bassboost") .setCategory("music") - .addStringOption(o => + .addChoiceOption(o => o.setName("level") - .setDescription("Bass boost level: 'low', 'medium', 'hard', or 'off'.") + .setDescription("Bass boost level: 'low', 'medium', 'hard', or 'off'.", "options.bassboost.level") + .addChoices("low", "medium", "hard", "off") .setRequired(false) - .addChoices( - { name: "low", value: "low" }, - { name: "medium", value: "medium" }, - { name: "hard", value: "hard" }, - { name: "off", value: "off" } - ) ) .addAliases("bb", "bass"); diff --git a/commands/normalize.mjs b/commands/normalize.mjs index b668a40..c65eb06 100644 --- a/commands/normalize.mjs +++ b/commands/normalize.mjs @@ -17,15 +17,11 @@ export const command = new CommandBuilder() .setName("normalize") .setDescription("Toggle dynamic volume normalization (ReplayGain leveling) across music sources.", "commands.normalize") .setCategory("music") - .addStringOption(o => + .addChoiceOption(o => o.setName("state") - .setDescription("Turn on/off or check status ('on', 'off', 'status'). Omit to toggle.") + .setDescription("Turn on/off or check status ('on', 'off', 'status'). Omit to toggle.", "options.normalize.state") + .addChoices("on", "off", "status") .setRequired(false) - .addChoices( - { name: "on", value: "on" }, - { name: "off", value: "off" }, - { name: "status", value: "status" } - ) ) .addAliases("replaygain", "volumenormalize", "norm"); diff --git a/commands/pitch.mjs b/commands/pitch.mjs index d9a6632..9bc28e4 100644 --- a/commands/pitch.mjs +++ b/commands/pitch.mjs @@ -18,7 +18,7 @@ export const command = new CommandBuilder() .setCategory("music") .addNumberOption(o => o.setName("pitch") - .setDescription("Audio pitch multiplier between 0.5 and 2.0 (e.g. 1.25). Omit to reset to 1.0×.") + .setDescription("Audio pitch multiplier between 0.5 and 2.0 (e.g. 1.25). Omit to reset to 1.0×.", "options.pitch.pitch") .setRequired(false) ) .addAliases("semitone", "tune"); diff --git a/commands/speed.mjs b/commands/speed.mjs index 598e0a7..6440296 100644 --- a/commands/speed.mjs +++ b/commands/speed.mjs @@ -18,7 +18,7 @@ export const command = new CommandBuilder() .setCategory("music") .addNumberOption(o => o.setName("rate") - .setDescription("Playback speed multiplier between 0.5 and 2.0 (e.g. 1.25). Omit to reset to 1.0×.") + .setDescription("Playback speed multiplier between 0.5 and 2.0 (e.g. 1.25). Omit to reset to 1.0×.", "options.speed.rate") .setRequired(false) ) .addAliases("rate", "tempo");