Skip to content

Commit e0cd1e0

Browse files
committed
improve README.md
1 parent bf663b4 commit e0cd1e0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ Once your Express application is deployed, it is important to get notified of an
44
# Setup
55
1. Write to [BotFather](https://t.me/botfather), give it a command `/newbot`, answer the questions, and it will give you a secret token (we call this `botToken`).
66
2. Create a channel, give it a username, and add the bot you have just created to this channel.
7-
3. Inside of your project directory, run `npm install --save express-notify-telegram`. Afterwards, run `npx express-notify-telegram`, this CLI will ask you `botToken` and channel's username you created in the previous step and give you the channel's `chatId`.
8-
4. Finally, in your application, add the following:
7+
3. Inside of your project directory, run `npm install --save express-notify-telegram`.
8+
4. Run `npx express-notify-telegram`. This CLI will ask you the `botToken` and channel's username you created in the previous steps and give you the channel's `chatId`.
9+
5. Finally, in your application, add the following:
910
```js
1011
const express = require('express');
1112
const telegramMiddleware = require('express-notify-telegram');

0 commit comments

Comments
 (0)