Thanks to visit codestin.com
Credit goes to github.com

Skip to content

darkdeathoriginal/Darkbot

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

npm run postinstall 

Setup account

  node .

Start BOT

  npm start

Database Support

DATABASE_URL="sqlite"   # for SQLite
DATABASE_URL="https://" # for Postgres/optional

# For MySQL, comment out DATABASE_URL and set the following variables:
DB_DATABASE=darkbot
DB_USERNAME=root 
DB_PASSWORD=
DB_HOST="localhost"

Usage/Examples adding plugins

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •