Skip to content

This is a project for sending message from discord to telegram

Notifications You must be signed in to change notification settings

btcoin23/D2T_Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

D2T-msg-forward using Self-Bot

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

Main Features

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

Screenshots

  • Server, Channel message forward image image

  • Direct message forward image image

Tech stack

  • Python
  • Discord Self-bot
  • Discord.py
  • telegram.py
  • telegramify_markdown

Prerequisites

  • Python 3.13.0 or higher
  • Telegram bot
  • Telegram channel

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=
TELEGRAM_TOKEN=
TELEGRAM_CHANNEL_ID=
  1. Run the script:
python main.py

Version 1.0 13/11/2024

About

This is a project for sending message from discord to telegram

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages