downbot

1.0.5 • Public • Published

Downtime Telegram Bot

Indicate your users of downtime in Telegram!


Deploy with Vercel

Vercel instructions.

Note after deploying you have to set webhook.

Use the following webhook url:

https://downbot-<your-vercel-username>.vercel.app/api/bot

Or just use @hooktelebot.


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.


Usage

If installed:

downbot

For temporary use:

npx downbot

Note: You'll have to keep the terminal running for the duration.


Make sure env vars are set in your working directory.

On Mac / Linux

touch .env && { echo "BOT_TOKEN="; } >> .env && nano .env

On Windows

type nul > .env && echo BOT_TOKEN= >> .env && notepad .env

Install

npm i -g downbot

Uninstall

npm uninstall downbot

License

AGPL 3.0 ©️ Zubin

Readme

Keywords

none

Package Sidebar

Install

npm i downbot

Weekly Downloads

1

Version

1.0.5

License

AGPL-3.0

Unpacked Size

38.7 kB

Total Files

5

Last publish

Collaborators

  • losparviero