Skip to content

kondaurovDev/effect-tg-bot

Repository files navigation

Running telegram bot locally

  • clone this repo
  • install dependecies pnpm install
  • create config.json with structure taken from config/example.json, put your credentials 🤪
  • change ./src/bot-logic.ts to meet your desired bot's logic
  • run the bot pnpm tsx src/local-run.ts

How does it work?

It uses long-pooling to fetch messages from Telegram bot's queue (messages are kept for 24 hours) and uses MessageHandler to process message updates.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published