Skip to content

FranElfers/tiger-bot

Repository files navigation

Ambiente de desarrollo

Environment

Archivo .env:

BOT_TOKEN=
API_KEY=
AUTH_DOMAIN=
PROJECT_ID=
STORAGE_BUCKET=
MESSAGING_SENDER_ID=
APP_ID=
PORT=
TZ=GMT-3
ENVIRONMENT=development

Usar bot

  1. Instalar dependencias
npm install
  1. Levantar bot
npm start
  1. Iniciar bot. Esta opción está deshabilitada cuando el valor de entorno ENVIRONMENT esta en development, el bot se inicia solo.
curl http://localhost:<port>/start
  1. Detener bot
curl http://localhost:<port>/stop
  1. Obtener status. Puede responder {status:online} o {status:offline}.
curl http://localhost:<port>/status

About

Personal telegram bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published