Skip to content

Repository files navigation

Darkbot

A simple Telegram User/Bot built using Gramjs.

Features

  • Can run both user and bot accounts
  • External plugin support
  • External Bot support

Run Locally

Clone the project

  git clone https://github.com/darkdeathoriginal/Darkbot

Go to the project directory

  cd Darkbot

Install dependencies

  npm install

Setup Environment Variables

API_ID

API_HASH

BOT_TOKEN

DATABASE_URL (Postgres/optional)

Start BOT in Development (TypeScript)

  npm run dev

Build and Start BOT (Production)

  npm run build
  npm start

Usage/Examples

Type .list to get list of all user command.

.install <gist-url> can install external plugins,

For external bot run /addbot in your bot . Sample bot

About

A simple Telegram User/Bot using Gramjs

Topics

Resources

Stars

14 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages