Skip to content

A simple Twitter bot that tweets a quote every hour of the mighty pirate, Guybrush Threepwood.

Notifications You must be signed in to change notification settings

vicchirino/guybrush-twitter-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter Guybrush Threepwood bot.

A Twitter bot that tweets a quote every hour of the mighty pirate, Guybrush Threepwood. Also reply for mentions with a random quote.

The bot also post Monkey Island screenshots in order every 3 hours.

Guybrush quotes

Monkey Island walkthrough

Setup

  1. Clone the project.
  2. Create an environment doing pip install virtualenv and then virtualenv {ENVIRONMENT_NAME}.
  3. Activate the virtual if needed source /{ENVIRONMENT_NAME}/bin/activate (Note: The method used to activate the virtual environment may be different, depending on your operating system and shell. You can learn more about this in the venv documentation.)
  4. Generate the twitter account keys. Visit https://developer.twitter.com.

Run the quotes Bot

  1. Run the scrirpt for a single tweet TWITTER_BOT_CONSUMER_KEY='{KEY}' TWITTER_BOT_CONSUMER_SECRET='{KEY}' TWITTER_BOT_ACCESS_TOKEN='{KEY}' TWITTER_BOT_ACCESS_TOKEN_SECRET='{KEY}' python guybrush_threepwood_quotes_bot.py

Run the reply bot

  1. Run the script for replying mentions BOT_USER_ID={BOT_USER_ID} TWITTER_BOT_CONSUMER_KEY='{KEY}' TWITTER_BOT_CONSUMER_SECRET='{KEY}' TWITTER_BOT_ACCESS_TOKEN='{KEY}' TWITTER_BOT_ACCESS_TOKEN_SECRET='{KEY}' BARER_TOKEN='{KEY}' nohup python guybrush_threepwood_reply_bot.py

Run the Monkey Island screenshots bot

  1. Run the script for posting screenshots: TWITTER_BOT_CONSUMER_KEY={TWITTER_BOT_CONSUMER_KEY TWITTER_BOT_CONSUMER_SECRET={TWITTER_BOT_CONSUMER_SECRET TWITTER_BOT_ACCESS_TOKEN={TWITTER_BOT_ACCESS_TOKEN} TWITTER_BOT_ACCESS_TOKEN_SECRET={TWITTER_BOT_ACCESS_TOKEN_SECRET} nohup python monkey_island_screenshots_bot.py &

Production bot:

@guybrush_quotes

image

Resources

Twitter:

Python:

About

A simple Twitter bot that tweets a quote every hour of the mighty pirate, Guybrush Threepwood.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages