AnanjiCosta / robo-pirate

:anchor: A robotic Twitter pirate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

				 ____       _             ____  _           _
				|  _ \ ___ | |__   ___   |  _ \(_)_ __ __ _| |_ ___
				| |_) / _ \| '_ \ / _ \  | |_) | | '__/ _` | __/ _ \
				|  _ < (_) | |_) | (_) | |  __/| | | | (_| | ||  __/
				|_| \_\___/|_.__/ \___/  |_|   |_|_|  \__,_|\__\___|

                       .ed"""" """$$$$be.
                     -"           ^""**$$$e.
                   ."                   '$$$c
                  /                      "4$$b
                 d  3                     $$$$
                 $  *                   .$$$$$$
                .$  ^c           $$$$$e$$$$$$$$.
                d$L  4.         4$$$$$$$$$$$$$$b
                $$$$b ^ceeeee.  4$$ECL.F*$$$$$$$
    e$""=.      $$$$P d$$$$F $ $$$$$$$$$- $$$$$$
   z$$b. ^c     3$$$F "$$$$b   $"$$$$$$$  $$$$*"      .=""$c
  4$$$$L   \     $$P"  "$$b   .$ $$$$$...e$$        .=  e$$$.
  ^*$$$$$c  %..   *c    ..    $$ 3$$$$$$$$$$eF     zP  d$$$$$
    "**$$$ec   "\   %ce""    $$$  $$$$$$$$$$*    .r" =$$$$P""
          "*$b.  "c  *$e.    *** d$$$$$"L$$    .d"  e$$***"
            ^*$$c ^$c $$$      4J$$$$$% $$$ .e*".eeP"
               "$$$$$$"'$=e....$*$$**$cz$$" "..d$*"
                 "*$$$  *=%4.$ L L$ P3$$$F $$$P"
                    "$   "%*ebJLzb$e$$$$$b $P"
                      %..      4$$$$$$$$$$ "
                       $$$e   z$$$$$$$$$$%
                        "*$c  "$$$$$$$P"
                         ."""*$$$$$$$$bc
                      .-"    .$***$$$"""*e.
                   .-"    .e$"     "*$c  ^*b.
            .=*""""    .e$*"          "*bc  "*$e..
          .$"        .z*"               ^*$e.   "*****e.
          $$ee$c   .d"                     "*$.        3.
          ^*$E")$..$"                         *   .ee==d%
             $.d$$$*                           *  J$$$e*
              """""                             "$$$"   Gilo95'


This is the source for @robo-pirate, a Twitter bot whose one sole purpose is to insult Twitter users in a particularly pirate-y manner:

@brianshumate Avast! Ye be more foul 'an a scurvish cask 'o horn swogglin' Frenchmen.

— Robo Pirate (@robo_pirate) January 25, 2015
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>

Setup

Note

Replace all instances of robo-pirate in this project with the name of your own bot to begin making use of this code for yourself.

Use virtualenv and virtualenvwrapper because Python is more fun with them.

Clone this repository, the change into its top level directory:

git clone https://github.com/brianshumate/robo-pirate.git
cd robo-pirate

Then, to quote the venerable @densoneold,

COMMANDS

mkvirtualenv robo-pirate
pip install -r requirements.txt
cp robo-pirate/etc/access.json-dist robo-pirate/etc/access.json

Finally, edit etc/access.json and plug in your Twitter API keys, tokens, and secrets.

Usage

Run it like this:

./robo-pirate.py

Thank You

About

:anchor: A robotic Twitter pirate

License:MIT License


Languages

Language:Python 100.0%