Digest Bot
=============

![Bot Screen](https://raw.github.com/EXL/DigestBot/master/Screens/DigestBot.png)

Telegram digest bot for group chats.
Bot records all messages with the #digest tag and displays them on the /digest command.
Thanks to the creators of node-telegram-bot-api and the creators of powerful and awesome JavaScript framework — Node.js.

## Install instructions

For example, GNU/Linux:

* Install the "Node.js" and Node.js package manager, the "npm";

```sh
sudo apt-get install nodejs
sudo apt-get install npm
```

* Clone repository into deploy directory;

```sh
cd ~/Deploy/
git clone https://github.com/EXL/DigestBot DigestBotDeploy
```

* Install "node-telegram-bot-api" and "request" modules into deploy directory;

```sh
cd ~/Deploy/DigestBotDeploy/
npm install node-telegram-bot-api
npm install request
```

* Write your token in "BOT_TOKEN_ACCESS.json" file.

* Run and enjoy!

```sh
nodejs DigestBot
```

Please read [tutorial (In Russian)](http://exlmoto.ru/writing-telegram-bots/#8) about creating bots for Telegram.

Digest Bot
=============

![Bot Screen](https://raw.github.com/EXL/DigestBot/master/Screens/DigestBot.png)

Telegram digest bot for group chats.
Bot records all messages with the #digest tag and displays them on the /digest command.
Thanks to the creators of node-telegram-bot-api and the creators of powerful and awesome JavaScript framework — Node.js.

## Install instructions

For example, GNU/Linux:

* Install the "Node.js" and Node.js package manager, the "npm";

```sh
sudo apt-get install nodejs
sudo apt-get install npm
```

* Clone repository into deploy directory;

```sh
cd ~/Deploy/
git clone https://github.com/EXL/DigestBot DigestBotDeploy
```

* Install "node-telegram-bot-api" and "request" modules into deploy directory;

```sh
cd ~/Deploy/DigestBotDeploy/
npm install 
```

* Write your token in "BOT_TOKEN_ACCESS.json" file.

* Run and enjoy!

```sh
nodejs DigestBot
```

Please read [tutorial (In Russian)](http://exlmoto.ru/writing-telegram-bots/#8) about creating bots for Telegram.

Replace two separated commands with single simple command
Replace two separated commands with single simple command

By @kovirolik 