mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-02 06:28:54 +00:00
Update volume command option to minimum value of 0 for percentage
This commit is contained in:
1 parent
d48503f565
commit
23fd73997a
1 file changed
+1
-1
@@ -13,7 +13,7 @@ class VolumeCommand extends BaseSlashCommandInteraction {
|
||||
const data = localizeCommand(
|
||||
new SlashCommandBuilder()
|
||||
.setName('volume')
|
||||
.addIntegerOption((option) => option.setName('percentage').setMinValue(1).setMaxValue(100))
|
||||
.addIntegerOption((option) => option.setName('percentage').setMinValue(0).setMaxValue(100))
|
||||
);
|
||||
super(data);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user