mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-04 06:28:53 +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(
|
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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user