+1
-1
@@ -89,4 +89,4 @@ #!/usr/bin/env node | ||
| console.log( | ||
| "Bot started. Please keep this window running or setup persistent execution using startup managers like PM2." | ||
| "Bot started. Please keep this window running or setup persistent execution using startup managers like PM2.\nSend CTRL+C to terminate." | ||
| ); | ||
| bot.start(); |
+2
-2
| { | ||
| "name": "downbot", | ||
| "version": "1.0.1", | ||
| "version": "1.0.2", | ||
| "description": "Indicate your users of downtime in Telegram!", | ||
| "main": "bot.js", | ||
| "bin": { | ||
| "downi": "./bot.js" | ||
| "downbot": "./bot.js" | ||
| }, | ||
@@ -9,0 +9,0 @@ "author": { |
+11
-3
@@ -7,2 +7,12 @@ # Downtime Telegram Bot | ||
| ### Brief Note | ||
| Whenever you start work or maintenance on your bot just call ```npx downbot``` to notify your users in the meanwhile. | ||
| If you use a .env file just call downbot in the same directory as your bot and it'll use that. No need to even set env vars. | ||
| The bot replies to all commands & messages. | ||
| <br> | ||
| ### Usage | ||
@@ -13,3 +23,3 @@ | ||
| ```shell | ||
| downi | ||
| downbot | ||
| ``` | ||
@@ -56,4 +66,2 @@ For temporary use: | ||
| <br> | ||
| ### Uninstall | ||
@@ -60,0 +68,0 @@ |
38212
0.91%75
11.94%