DEV Community

Charlie Reese πŸ¦–
Charlie Reese πŸ¦–

Posted on

1

How to build a (Drake) Twitter bot

I was at a bar with an old group of friends over the 2017 holidays. While we were waiting in line, one of them mentioned that he heard about a Twitter-bot that replied to tweets containing Biggie Smalls lyrics with other Biggie Smalls lyrics.

I thought the idea was hilarious, and after one or six beers decided it was something I had to build! However, I wanted to do things a little differently:

  • I rep the 6 I live in Toronto, so the Twitter-bot would be for Drake - a.k.a the DrizzyBot
  • The DrizzyBot should reply to tweets containing Drake lyrics with the next line of the song
  • The DrizzyBot should run at regular intervals with no human interaction

After a day of programming, tinkering, and giggling, the DrizzyBot was born.

Follow the DrizzyBot here: @The110God (Note: 6 in binary is 110) 😏

View the source code for the DrizzyBot here. Note: the source code is in ruby and is only ~100 lines

Image of Datadog

Create and maintain end-to-end frontend tests

Learn best practices on creating frontend tests, testing on-premise apps, integrating tests into your CI/CD pipeline, and using Datadog’s testing tunnel.

Download The Guide

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay