Giter VIP home page Giter VIP logo

hubot-adventuretime's Introduction

hubot-adventuretime

Who doesn't need more Adventure Time in their lives?! This hubot script listens to ~76 key words and responds with an appropriate Adventure Time gif!

See src/adventuretime.coffee for full documentation.

Installation

In hubot project repo, run:

npm install hubot-adventuretime --save

Then add hubot-adventuretime to your external-scripts.json:

["hubot-adventuretime"]

Sample Interaction

user1>> Anyone want to get lunch?
hubot>> https://media.giphy.com/media/fVQkNYbtn49mo/giphy.gif
user1>> There's some cake in the kitchen!
hubot>>	https://media.giphy.com/media/mqlCGU6h3xUvm/giphy.gif

Want to configure how often Hubot responds?

Drop an adventuretime.config into your root hubot directory and add a "messageThreshold" property. messageThreshold is the number of times hubot must "hear" an AdventureTime triggering message before actually responding.

Example adventuretime.config for only responding once for every 5 "triggering" messages:

{
  "messageThreshold" : 5
}

Know any good GIFs?

This project is hosted on gitub! You can contribute prompt-response pairs here: https://github.com/christinakayastha/hubot-adventuretime/blob/master/src/data.json

hubot-adventuretime's People

Contributors

binamkayastha avatar brianchitester avatar chriskwan avatar christikaes avatar dggriffin avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

hubot-adventuretime's Issues

Filter message triggers

Right now this plugin has many triggers which can become spammy...it would be pretty sweet if you (a hubot admin) could select only a subset of triggers to fire. This could be a pretty simple options file or object that could be passed in.

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.