added limits on option
This commit is contained in:
parent
28d2e4efab
commit
9a35c7c430
4
main.py
4
main.py
|
|
@ -62,7 +62,7 @@ async def delivery(ctx,
|
|||
"Water",
|
||||
"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'])
|
||||
):
|
||||
|
||||
|
|
@ -119,4 +119,4 @@ async def changeSheetUrl(ctx,
|
|||
|
||||
|
||||
#run the damn thing
|
||||
bot.run(discordToken)
|
||||
bot.run(discordToken)
|
||||
Loading…
Reference in New Issue
Block a user