ExtraLudic / labyrinth

1 stars 1 forks source link

Create code to turn array into key.JSON #9

Open extraludicinc opened 6 years ago

extraludicinc commented 6 years ago

@esalling23 Can you upload here an example object and an explanation of the naming convention that we should use? I can take a crack at writing this code.

esalling23 commented 6 years ago

It's actually going to be an array of objects, the example menu options from the slack documentation is below:

     options = [
            {
                "text": "Unexpected sentience",
                "value": "AI-2323"
            },
            {
                "text": "Bot biased toward other bots",
                "value": "SUPPORT-42"
            },
            {
                "text": "Bot broke my toaster",
                "value": "IOT-75"
            }
       ];