Run the npm install command...
npm install hubot-ionapp
Add the script to the external-scripts.json
file
["hubot-ionapp"]
export HUBOT_IONAPP_COMPANY_NAME='my_company'
export HUBOT_IONAPP_AUTH_TOKEN='1234..'
To obtain auth token
go to https://<company name>.timeion.com/api/tokens/
and generate one.
Some of the commands require a token generated by the administrator.
mybot who's absent
mybot who'll be absent tomorrow
mybot who'll be absent on Friday
mybot who'll be absent on Feb 28
mybot who'll be absent on 2015-02-14
mybot show me the team
mybot remember me as abogdal
mybot I will be working at home on Monday
mybot I will be working at home on Feb 10 to 14
It covers all work time windows in specified date range. This command requires admin
auth token.
Docker and docker-compose are required to be installed.
$ docker-compose build
$ docker-compose run hubot
mybot> mybot who's absent