Skip to content

Leverages python-rtmbot and python-rtmbot-hodor to monitor mentions of Hodor's name in a Slack channel and reply with a message based on mood.

Notifications You must be signed in to change notification settings

JacobSanford/docker-slack-hodor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jacobsanford/slack-hodor

Docker image : leverages python-rtmbot and python-rtmbot-hodor to monitor mentions of Hodor's name in a Slack channel and reply with a message:

alt text

Hodor's replies are determined by mood.

The 'mood' of reply is determined by comparing the content of the triggering message against a library of words and human interpreted intent scoring. After mood assignment, a message is chosen based on a 'item drop' type selection process that allows for weighting of responses.

Quick Start

  1. Add a bot user to your slack team and obtain the API token.
  2. Deploy the image, passing to it the API token in the SLACK_TOKEN environment variable:
docker run \
       --rm \
       --name hodorbot \
       -e SLACK_TOKEN=_API_TOKEN_OBTAINED_FROM_SLACK_INTEGRATION_ \
       jacobsanford/slack-hodor

License

Sources

About

Leverages python-rtmbot and python-rtmbot-hodor to monitor mentions of Hodor's name in a Slack channel and reply with a message based on mood.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages