Fix Option builder for bassboost and normalize using addChoiceOption

This commit is contained in:
NoLogicAlan committed 2026-10-22 02:16:56 +03:00
1 parent ee1b9be917
commit 784458f387
4 files changed
+8 -17

No files matched your search

+3 -8
View File
@@ -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");