Skip to content

cycle-sync-ai/d2t-message-forwarder

Repository files navigation

👻 Please follow me for new updates Dev.to | Github | Github Org
😉 Please join our discord server Discord
💫 Please have an interesting relationship with me Telegram | Email

Discord to Telegram(D2T) message forward using Self-Bot

This is a simple Python script that forwards messages from a Discord channel to a Telegram bot when a message includes a Solana token address. This is a self-bot.

Update_4.mp4

Main Features

  • Forward messages from a Discord channel to a Telegram bot.
  • Forward DM

Screenshots

  • Server, Channel message forward image image

  • Direct message forward image image

  • Server, Channel message forward image image

  • Direct message forward image image

Tech stack

  • Python
  • Discord Self-bot
  • Discord.py
  • telegram.py
  • telegram-send-message
  • telegram-API

Prerequisites

  • Python 3.13.0 or higher

Configuration

  1. clone the repository:
https://github.com/Any-bot/D2T-msg-forward.git
  1. Go to the project directory:
cd D2T-msg-forward
  1. Install the required packages:
pip install -r requirements.txt
  1. Create a .env file in the root directory of the project and add the following variables:
DISCORD_USER_TOKEN=
BOT_USERNAME=
TELEGRAM_API_ID=
TELEGRAM_API_HASH=
  1. Run the script:
python main.py

Releases

No releases published

Packages

No packages published

Languages