Skip to content

rom6n/message-forwarder-bot

Repository files navigation

Message Forwarder Bot 🤖

⚡ A bot that forwards messages from 🟣MAX messwenger to 🔵Telegram

What can it forward?

Text messages

Images

❌ Videos

❌ Documents

❌ Voice messages

How to fill .env file?

Create a .env file in the root directory of the project and add the following variables:

# Your MongoDB connection string
MONGO_URI=mongodb://localhost:27017/

# Your Telegram bot token
TELEGRAM_BOT_TOKEN=HERE_YOUR_TELEGRAM_BOT_TOKEN

# Your Telegram test bot token (optional, for testing purposes)
TELEGRAM_TESTBOT_TOKEN=HERE_YOUR_TELEGRAM_TESTBOT_TOKEN

# Your chrome executable path
CHROME_PATH=C:\Program Files\Google\Chrome\Application\chrome.exe

# Directory to store downloaded files
FILES_DIR=./data/files

# MAX main page URL
MAX_URI=https://web.max.ru/

# Invisible browser mode (true/nothing)
INVISIBLE_BROWSER=

# Enable test mode (true/nothing)
TEST_ONLY=true

About

↪️ Replies messages from MAX messenger to Telegram

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages