A Telegram chatbot using node-telegram-bot-api and node-simipro (Simsimi API) with multi-language support and per-user language setting.
- Supports multiple languages (English, Bengali, etc.)
- Language can be changed with
/lang <code>
- Shows supported languages with
/langs
- Replies with Simsimi AI responses
- Replies inline when replying to bot messages
- Logs all actions with timestamps and log levels
- Reads bot token securely from environment variable
Mohammad Alamin (anbuinfosec)
- Node.js v16+
- npm or yarn
- Telegram Bot Token (create with BotFather)
git clone https://github.com/anbuinfosec/simsimi-tg-bot.git
cd simsimi-tg-bot
npm install
Create .env
file in the root directory:
BOT_TOKEN=your_telegram_bot_token_here
npm start
/start
or/help
— Show welcome/help message/langs
— Show supported languages list/lang <code>
— Set your language, e.g./lang en
or/lang bn
Chat with the bot naturally, it replies using Simsimi AI.
Check /langs
command after running the bot.
Logs are saved to bot.log
and also printed to console with color-coded log levels and timestamps in Dhaka timezone.
MIT License
Feel free to open issues or submit pull requests!
GitHub: anbuinfosec Author: Mohammad Alamin