Socket
Socket
Sign inDemoInstall

100bot

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

100bot

Spice up your Slack-life with emojis!


Maintainers
1

100Bot

This is a son-of-IoBot project, taking the best things about Io and turning them into a monster.

A picture is worth 1000 words:

Screenshot of example conversation

100Bot is powered by the Watson Tone Analyzer service. Each message is carefully parsed for emotional significance and response, so that the perfectly appropriate reaction emoji can be chosen.

Running 100Bot

The bot requires three very specific parameters:

  • A Watson Tone Analyzer username credential
  • A Watson Tone Analyzer password credential
  • A Slack Integration Token for a bot

Running with docker-compose

The easiest way to get 100bot up and running with dependencies is by using the docker service file included: docker-compose.yml. Modify the supplied .env-sample to provide credentials for the Watson Tone Analyzer and a Slack bot. Then build and start the service with:

docker-compose up -d

Running natively with python

Pip modules slackclient and requests must be installed. Use virtualenv to make your life easier. Passing of credentials can be done with argparse:

python3 100bot.py \
 --bx-username "user" \
 --bx-password "verysecret" \
 --slack-token "xoob-137138657231-2ReKEpxlvWwe6vDBripOs7sR"

but can also be done with environment variables:

export BLUEMIX_USERNAME=user
export BLUEMIX_PASSWORD=verysecret
export SLACK_TOKEN="xoob-137138657231-2ReKEpxlvWwe6vDBripOs7sR"
python3 100bot.py

(yes, these are all fake credentials don't try them...)

FAQs


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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc