This is a simple Python script that forwards messages from a Discord channel to a Telegram channel when a message includes a Solana token address. This is a self-bot.
Update_1.mp4
- Forward messages from a Discord channel to a Telegram channel.
- Forward DM
- Python
- Discord Self-bot
- Discord.py
- telegram.py
- telegramify_markdown
- Python 3.13.0 or higher
- Telegram bot
- Telegram channel
- clone the repository:
https://github.com/Any-bot/D2T-msg-forward.git
- Go to the project directory:
cd D2T-msg-forward
- Install the required packages:
pip install -r requirements.txt
- Create a .env file in the root directory of the project and add the following variables:
DISCORD_USER_TOKEN=
TELEGRAM_TOKEN=
TELEGRAM_CHANNEL_ID=
- Run the script:
python main.py