Skip to content

Commit

Permalink
Merge pull request #2 from lydelln/master
Browse files Browse the repository at this point in the history
package fix, readme, .gitignore
  • Loading branch information
Michael Deeb committed Jan 3, 2016
2 parents 3dd0692 + 668e365 commit e55e31d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ Pull requests welcomed and greatly apperciated!

Setup
------
1. [Create](https://core.telegram.org/bots#create-a-new-bot) a new bot by chatting with [@TheBotFather](https://telegram.me/botfather) and keep the token handy.
1. [Create](https://core.telegram.org/bots#create-a-new-bot) a new bot by chatting with [@BotFather](https://telegram.me/botfather) and keep the token handy.
2. Populate [restaurants.json](restaurants.json) with content relevant to you.
3. Install [Node.js & npm](https://nodejs.org)
4. `git clone https://github.com/michaeljdeeb/indecisive-bot`
5. `cd /path/to/project/`
6. `npm install`
5. `TELEGRAM_BOT_TOKEN='YOUR_BOT_TOKEN' node main.js` where YOUR_BOT_TOKEN is replaced by what you were given by [@TheBotFather](https://telegram.me/botfather)
5. `TELEGRAM_BOT_TOKEN='YOUR_BOT_TOKEN' node main.js` where YOUR_BOT_TOKEN is replaced by what you were given by [@BotFather](https://telegram.me/botfather)
6. Type 'IDK' to your bot.

Demo
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "indecisive-bot",
"description": "A Telegram bot to help you decide what to eat.",
"version": "1.0",
"version": "0.1.0",
"private": true,
"dependencies": {
"telegram-api": "*"
Expand Down

0 comments on commit e55e31d

Please sign in to comment.