hubot-sentimental-plus
v1.1.0
Published
A hubot adapter for tracking happiness levels of users via the Sentimental database. Plus version adds additional text messages than just 'stay positive', because people hate this one
Downloads
5
Maintainers
Readme
Hubot Sentimental Adapter
Description
This Hubot adapter uses the Sentimental node package to score how positive or negative the spoken words being used in your room are. As users speak we will analyze how positive or negative your words are using Sentimental and keep a running average. You can then ask how everyone is doing by using one of the following commands.
plus version adds more messages than just 'stay positive'
Hubot check on jsolis
Hubot check on everyone
See src/sentimental.coffee
for full documentation.
Data
Installation
In hubot project repo, run:
npm install hubot-sentimental-plus --save
Then add hubot-sentimental-plus to your external-scripts.json
:
["hubot-sentimental"]
You will need to set one environment variable to use this adapter.
export REDISTOGO_URL=redis://redis-server:redis-port-number
Sample Interaction
Hubot> Hubot check on jsolis
Hubot> jsolis has a happiness average of 0.9672131147540983
Contribute
Just send pull request or file an issue !
Configuration
HUBOT_SENTIMENTAL_QUIET
Make the bot a little more quiet.
Copyright
Copyright © Jason Solis. See LICENSE for details.