botkit-spark-worldcuptrivia
World Cup 2018 Trivia Bot for Cisco Spark.
Features
- Bot conversation using Botkit and CiscoSpark JavaScript SDK
- About and help skills available.
Installation
-
Download the ngrok or tunneling localhost tool i.e. ngrok
-
Register a Bot Account from the 'Spark for developers' bot creation page, and copy your bot's access token.
-
Launch ngrok to expose port 3000 of your local machine to the internet:
ngrok http 3000
-
Edit the
.env
file and modify the settings to accomodate your bot.PORT=3000 PUBLIC_URL=https://custom-sub-domain.ngrok.io SECRET="hiddensecret" SPARK_TOKEN=token-received-from-access-token
-
Run the bot and test it.
git clone https://github.com/diegofn/botkit-spark-worldcuptrivia cd botkit-spark-worldcuptrivia npm install node worldcuptrivia.js