🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

downbot

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

downbot

Indicate your users of downtime in Telegram!

latest
Source
npmnpm
Version
1.0.5
Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 20 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts