This Node.js application utilizes the Telegram Bot API and the free-translate library to provide instant translations within Telegram conversations.
Before running the bot, make sure you have Node.js installed and obtain a Telegram Bot Token from BotFather.
-
Clone the repository:
git clone [email protected]:moheet333/SwiftTranslateBot.git cd telegram-translation-bot
-
Environment Vairiable:
BOT_TOKEN=your_telegram_bot_token
-
Install dependencies and start the bot:
npm install npm start