GithubHelp home page GithubHelp logo

dd-alexa's Introduction

Denver Devs Alexa Bot

An Alexa skill to help administration and moderation of the Denver-Devs Slack team (https://denver-devs.slack.com).

Develop Denver

The secondary purpose of this skill is for a conference talk at Develop Denver 2017 (developdenver.org). The purpose of the talk is to demonstrate how to make an Alexa skill. We'll use AWS, Serverless, and the Slack API to make a simple chat bot with the main purpose of saving important conversations that take place in our favorate Slack group.

Technologies demonstrated

  • AWS Lambdas with NodeJS
  • The Alexa SDK
  • Serverless Framework
  • AWS Simple Notification Service (SNS)
  • AWS Simple Storage Service (S3)
  • Slack API

Skill Commands

  • Alexa, ask Denver Devs to make a transcript of #general or [channel].
    • The history of that channel is parsed, converted to html, and uploaded to S3.
    • This is the most useful feature of this skill, since messages in free accounts are limited to a history of 10,000 messages, and Denver Devs is approaching heat death - A time when there are so many members chatting that our history gets shorter and shorter until there is none.
  • Alexa, ask Denver Devs how many messages I have.
    • The user's channels are examined to reply with a count of unread messages
  • Alexa, ask Denver Devs how many members there are.
    • The Slack API is queried to determine how many users the team currently has.
  • Alexa, set a reminder for [channel] to [X] at [time]

Grief Commands

These commands are a proof of concept. They are potentially annoying and/or destructive. This requires an admin API token.

  • Alexa, tell Denver Devs to kick everyone from [channel]
    • All users are removed from specified channel.
  • Alexa, tell Denver Devs to cycle everyone in [channel]
    • Kicks all users, and then reinvites them
  • Alexa, send an @channel|@here|@everyone to [channel]
    • An alert notification is sent to the channel
  • Alexa, tell Denver Devs to burn it all down
    • ...you'll see

dd-alexa's People

Contributors

vevo-marc-missey avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.