Giter Club home page Giter Club logo

happinessbot's Introduction

HAPPINESSBOT!

What is it?

This is the source for my ongoing run of awesome happiness-inspiring twitter bots. They are very simple. Listen for someone to say "Good Morning" and then tweet something wonderful to them. That's it. Very easy.

You can also find out more about happiness bot by watching my lightning talk from RubyConf 2011. My talk starts at 21:45. You'll love it!

Where is HAPPINESSBOT on twitter?

Currently, we are on the 7th iteration: @happiness2_u_7

How does it work?

It uses my awesome tweetbot gem to listen for the phrase "Good Morning." Tweetbot gem supports adding a series of reponses that are selected at random. I've chosen a lot of motivating phrases to respond with. I've also set the frequency to 1%. This means that every time "Good Morning" is said on twitter, there is a 1 in 100 chance that happiness bot will say something nice to you. Isn't that nice?

Hey, I notice you are supporting a bunch of languages! Can you support my language?

Yup!

I've run into some issues with encoding errors with the Faraday gem, but it appears they are fixed. I'll keep an eye on this, but, for now, we are doing awesome with languages!

Now, if you want to send me a pull request for your language, I'll add it. You can be famous for making people happy in your favorite language!

Credits

Thanks a lot to Kristof Schockaert for helping debug some UTF issues. Awesome community support!

You want to do something like this?

Okay. Feel free to add your own phrases. Please make them nice, though. Nobody likes to have mean things said to them.

happinessbot's People

Stargazers

 avatar

Watchers

 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.