Update volume command option to minimum value of 0 for percentage

This commit is contained in:
Aaron Sandoval committed 2024-01-31 18:54:12 -07:00
1 parent d48503f565
commit 23fd73997a
1 file changed
+1 -1
+1 -1
View File
@@ -13,7 +13,7 @@ class VolumeCommand extends BaseSlashCommandInteraction {
const data = localizeCommand( const data = localizeCommand(
new SlashCommandBuilder() new SlashCommandBuilder()
.setName('volume') .setName('volume')
.addIntegerOption((option) => option.setName('percentage').setMinValue(1).setMaxValue(100)) .addIntegerOption((option) => option.setName('percentage').setMinValue(0).setMaxValue(100))
); );
super(data); super(data);
} }