A simple Telegram User/Bot built using Gramjs.
- Can run both user and bot accounts
- External plugin support
- External Bot support
Clone the project
git clone https://github.com/darkdeathoriginal/DarkbotGo to the project directory
cd DarkbotInstall dependencies
npm installnpm run postinstall node .Start BOT
npm startDATABASE_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"
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