This commit is contained in:
thewesker
2016-06-18 23:35:08 -04:00
parent 3d40817989
commit ab576c3b6f
2 changed files with 2 additions and 4 deletions

2
app.js
View File

@@ -122,7 +122,7 @@ T.post('media/upload', { media_data: b64content }, function (err, data, response
})
}
if (tweet.user.screen_name === 'DrJillStein') {
var b64content = fs.readFileSync('./pics/hulk.gif', { encoding: 'base64' })
var b64content = fs.readFileSync('./pics/jill.gif', { encoding: 'base64' })
var jillmessages = session.object.jillmessages;
var randomjillmessage = jillmessages[Math.floor(Math.random() * jillmessages.length)];
// first we must post the media to Twitter