added limits on option
This commit is contained in:
parent
28d2e4efab
commit
9a35c7c430
2
main.py
2
main.py
|
|
@ -62,7 +62,7 @@ async def delivery(ctx,
|
||||||
"Water",
|
"Water",
|
||||||
"Water Purifiers"
|
"Water Purifiers"
|
||||||
]),
|
]),
|
||||||
quantity: discord.Option(discord.SlashCommandOptionType.integer, description="Please be nice and input a value between 1 and 1238 (unless fdev touched something again)") ,
|
quantity: discord.Option(discord.SlashCommandOptionType.integer, description="Please be nice and input a value between 1 and 1238 (unless fdev touched something again)", min_value=1, max_value=1238),
|
||||||
target: discord.Option(str, choices=['Station', 'Carrier'])
|
target: discord.Option(str, choices=['Station', 'Carrier'])
|
||||||
):
|
):
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user