Skip to content

Latest commit

 

History

History
60 lines (37 loc) · 862 Bytes

File metadata and controls

60 lines (37 loc) · 862 Bytes

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