Skip to content

guillain/SparkBotCmd

Repository files navigation

SparkBotCmd

Spark API cmd in chat room with the support of the bot.

Why

The idea is simple: Why I can't used my chat space to drive my spark? This can be useful for:

  • Manage Cisco Spark environment (rooms, teams...)
  • Manage production bot by setting the bot token to this app, you ca have the list of webhook, rooms... where the bot is and use
  • Last chance of mirroring (room vs room chat replication)

Credit

Features

Features list

ToDo

  • Second parameter of some commands
  • Set token valid on environment (can be session)
  • Detail of items (by detail option in arg list?)

Install

  • Clone localy
git clone https://github.com/guillain/SparkBotCmd.git
  • Go into the folder
cd ServiceDeskBot
  • Install dependencies
npm install
  • Put your CSV file (named km.csv) in the conf folder (key->txt structure)
cp [your CSV file] conf/km.csv
cp config.js.default config.js
vi config.js
  • Run the application, two configuration availables
    • For the dev, node is used
./app manual
    • For the prod, pm2 is used (install also this dependency)
./app [start|stop|restart|show|staus|log]
  • Add the bot in Cisco Spark space and chat with him
    • In 1:1
@ roomsGet
    • In team chat
@SparkBotCmd roomsGet

About

Spark cmd in chat room with the support of the bot. Now you can manage your bot, app and users!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published