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 installSetup Environment Variables
API_ID
API_HASH
BOT_TOKEN
DATABASE_URL (Postgres/optional)
Start BOT in Development (TypeScript)
npm run devBuild and Start BOT (Production)
npm run build
npm startType .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