From 6c91b2beadc865b911603ec66af386170c183c88 Mon Sep 17 00:00:00 2001 From: Alangi Derick Date: Sat, 9 Sep 2017 12:16:33 +0100 Subject: [PATCH] Updates to the Repo and tags * Updates to the version tag. v1.0.1 released. * Changes to the name of the hashtag file to hold hashtags. Signed-off-by: Alangi Derick --- .gitignore | 3 +-- hash-tags.txt => hashtag-fs.txt | 0 package.json | 2 +- server.js | 4 ++-- 4 files changed, 4 insertions(+), 5 deletions(-) rename hash-tags.txt => hashtag-fs.txt (100%) diff --git a/.gitignore b/.gitignore index bfc549d..b411faa 100755 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ -npm-debug.log - .env +npm-debug.log \ No newline at end of file diff --git a/hash-tags.txt b/hashtag-fs.txt similarity index 100% rename from hash-tags.txt rename to hashtag-fs.txt diff --git a/package.json b/package.json index 3bb6daf..45592f1 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Wiki-Retweet-Bot", - "version": "1.0.0", + "version": "1.0.1", "description": "A Twitter bot that can retweet in response to the tweets matching some particluar keyword(s). The keywords that will be used are wikimedia related", "main": "server.js", "dependencies": { diff --git a/server.js b/server.js index 4ebccf8..9d258cd 100755 --- a/server.js +++ b/server.js @@ -1,6 +1,6 @@ /*! * A Twitter bot that can retweet in response to the tweets matching particluar keyword - * Version 1.0.0 + * Version 1.0.1 * Created by Alangi Derick inspired by Debashis Barman * License : https://github.com/ch3nkula/Twitter-Bot/blob/master/LICENSE */ @@ -10,7 +10,7 @@ /* Read the file and get the hash-tags */ var fs = require('fs'); -var contents = fs.readFileSync('hash-tags.txt', 'utf8'); +var contents = fs.readFileSync('hashtag-fs.txt', 'utf8'); console.log(contents); /* Set Twitter search phrase */