Skip to content

M4ss1ck/aio-tg-bot

Repository files navigation

All-in-one Telegram bot

"One bot to rule them all"

This is what you get when you combine Bot Manager with MassickBot v2

Full-featured constantly-evolving Telegraf bot with WebApp support and a /clone command to allow users to have their own copy.

Stack

Features

  • Typescript.
  • NextJS (and all it brings) for the WebApp.
  • Tailwind CSS for styling.
  • Telegraf.
  • Webhook powered bots (more speed, better performance).
  • Prisma (ORM)
  • PostgreSQL database.

Development

You'll need a few environment variables to run this bot

  • TOKEN for the token of the Telegram bot
  • NEXT_PUBLIC_DOMAIN for webhook domain
  • ADMIN_ID is the Telegram ID of the bot owner.
  • DATABASE_URL is the url of the portgresql database.
  • VICTIM_ID (Optional) is the Telegram ID of the user that will be victim of all those /tag commands.

webhook.js file can set webhook for our bot, you can call it manually with yarn set-webhook. It's automatically run in development with yarn dev too.

About

This bot does everything

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published