This is a Telegram bot template with the following features:
- Auto-receive Users: Automatically adds users to channels where bot is an admin.
- Welcome Message: Greets new users before /start command.
- Admin Menu: Access with /admin command.
- Upgrade User Permission: /getadmin command with correct password.
- Send Messages by Admin: Messages all users.
- Clone repository.
- Run
npm install
. - Add your bot API key to
.env
. - Connect your MongoDB.
Run npm run dev
.
- Auto-receive Users: Automatically adds users to channels.
- Welcome Message: Greets new users before /start command.
- Admin Menu: Access with /admin command.
- Upgrade User Permission: /getadmin command with correct password.
- Send Messages by Admin: Messages all users.
Contributions welcome! Submit pull requests.
MIT License. See LICENSE for details.