removed auto complete for commodities as its simply too slow :(
This commit is contained in:
parent
af336c9785
commit
6fdcba7489
|
|
@ -48,9 +48,36 @@ class IdaCogs(commands.Cog):
|
||||||
# guild_ids=[401372086746087425],
|
# guild_ids=[401372086746087425],
|
||||||
description= "sends your delivery to the bot!"
|
description= "sends your delivery to the bot!"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
## sadly the autocomplete is too slow and allow non-authorized values.
|
||||||
|
#@option("commodity",required=True,
|
||||||
|
# description="The Commodity you want to deliver",
|
||||||
|
# autocomplete=getCommodities)
|
||||||
|
|
||||||
@option("commodity",required=True,
|
@option("commodity",required=True,
|
||||||
description="The Commodity you want to deliver",
|
description = "The Commodity you want to deliver",
|
||||||
autocomplete=getCommodities)
|
choices = [
|
||||||
|
"Aluminium",
|
||||||
|
"Ceramic Composites",
|
||||||
|
"CMM Composite",
|
||||||
|
"Computer Components",
|
||||||
|
"Copper",
|
||||||
|
"Food Cartridges",
|
||||||
|
"Fruit and Vegetables",
|
||||||
|
"Insulating Membrane",
|
||||||
|
"Liquid Oxygen",
|
||||||
|
"Medical Diagnostic Equipment",
|
||||||
|
"Non-Lethal Weapons",
|
||||||
|
"Polymers",
|
||||||
|
"Power Generators",
|
||||||
|
"Semiconductors",
|
||||||
|
"Steel",
|
||||||
|
"Superconductors",
|
||||||
|
"Titanium",
|
||||||
|
"Water",
|
||||||
|
"Water Purifiers"
|
||||||
|
])
|
||||||
|
|
||||||
@option("quantity",required=True,
|
@option("quantity",required=True,
|
||||||
description="Please be nice and input a value between 1 and 1326 (new rack update!!!!1!1)",
|
description="Please be nice and input a value between 1 and 1326 (new rack update!!!!1!1)",
|
||||||
type=int, min_value=1, max_value=1326)
|
type=int, min_value=1, max_value=1326)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user