____ _ ____ _ _
| _ \ ___ | |__ ___ | _ \(_)_ __ __ _| |_ ___
| |_) / _ \| '_ \ / _ \ | |_) | | '__/ _` | __/ _ \
| _ < (_) | |_) | (_) | | __/| | | | (_| | || __/
|_| \_\___/|_.__/ \___/ |_| |_|_| \__,_|\__\___|
.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>
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.
Run it like this:
./robo-pirate.py
- Brent Woodruff: Long time friend, Twitter bot collaborator and influence
- @thricedotted: For their cool twitterbot framework that Robo Pirate uses! <3
- Darius Kazemi: Twitter bot artiste extraordinaire and constant inspiration