diff --git a/cogs/IdaCogs.py b/cogs/IdaCogs.py index 7b132a0..1441fb4 100644 --- a/cogs/IdaCogs.py +++ b/cogs/IdaCogs.py @@ -48,9 +48,36 @@ class IdaCogs(commands.Cog): # guild_ids=[401372086746087425], 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, - description="The Commodity you want to deliver", - autocomplete=getCommodities) + description = "The Commodity you want to deliver", + 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, 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)