/slackerton

A natural-language Slackbot for a local slack

Primary LanguageElixirMIT LicenseMIT

Slackerton

A natual lanugage based Slackbot for a local slack.

Uses my fork of Hedwig_Slack, to enable support for Slack threading, attachments

Structure

  • slackerton - core services, cache warmer, credential store
  • slackerton_chat - contains logic for the chat interface, responders for Hedwig, resolvers for AWS Lex
  • slackerton_web - WIP/TODO: contains the logic for the web interface. (phoenix)

Current Responders/Resolvers:

Lists out the current responders, and how to use them:

Basic responders

slackerton help - Displays all of the help commands that slackerton knows about.

Natural Language

Most responders focus use some level of natural language processing. View all responders with example responses.

Fun and Games:

Hey doc

... tell me a joke - Returns a joke.

... lets play trivia - Asks a trivia question. Answer with the letters provided.

General Knowledge:

Hey doc

... what's the latest on / whats the news about - Grabs the top trending news from one of 63 sources.

... what is / who is / where is - Provides general information about a topic

... can you define / how do you pronounce / can you give an example of - grammar information

Weather Alerts:

... put severe weather alerts in this channel

... remove weather alerts from here

... tell me about severe weather

Feature Requests:

... feature request: - Files a feature request on the github project.

Admin Controls:

Hey doc ... add @user as an admin - adds a user as an admin

... remove @user from admins - removes user from admins

... list admins - lists admins for the current slack team

... ignore @user - stop responding to a user

... unignore @user - stop ignoring a user

... list ignored - lists all ignored users for the current team


Roadmap

  • Complete Web API/Admin View

    • Disable/Enable bot remotely
    • Impersonate Bot
    • Log view?
  • Push Notification / Refactor

    • Sports Scores
    • RSS feeds?
    • Morning Briefing: Weather, Top 3 New stories, and Urban Dictionary WOTD