You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

hubot-sentiment

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hubot-sentiment

Sentiment analysis for hubot

1.2.7
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

Description

A hubot script that runs sentiment analysis of chatrooms its in. Generates output when you say hubot sentiment:

Top happy people:
1: juld = :-D!!!
2: frank = :-D
3: eric = :-)

Top happy channels:
1: #hubot = :-D
2: #hackers = :-)
3: #lunch = :-)

Most stressed people:
1: bubs = :-/
2: michi = :-/
3: ungs = :-/

Most stressed channels:
1: #internal = :-/
2: #builds = :-/

To install

Go to your bot's root directory and run:

npm install hubot-sentiment --save

Add it to your external-scripts.json:

[
  "hubot-sentiment"
]

To use

  • Invite the bot to rooms
  • Let people chat
  • PM the bot: sentiment or publicly message: [botname] sentiment

Note

  • Scores reset weekly
  • The bot does not log chats
  • The bot needs brain to work (https://github.com/github/hubot/blob/master/src/brain.coffee)
  • (For Slack) The bot uses Slack's RTM API so older versions (<3.0) of hubot-slack will NOT work with this bot

Keywords

hubot

FAQs

Package last updated on 13 Dec 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts