https://github.com/plzbugmenot/d2t-ca-transfer-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. It is a self-bot, which means it runs on the user's own Discord account.
https://github.com/plzbugmenot/d2t-ca-transfer-bot
bot discord python self-bot-discord telegram
Last synced: about 1 month ago
JSON representation
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. It is a self-bot, which means it runs on the user's own Discord account.
- Host: GitHub
- URL: https://github.com/plzbugmenot/d2t-ca-transfer-bot
- Owner: plzbugmenot
- Created: 2024-11-14T17:18:02.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-28T00:13:35.000Z (over 1 year ago)
- Last Synced: 2025-09-20T09:38:46.328Z (9 months ago)
- Topics: bot, discord, python, self-bot-discord, telegram
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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**.
https://github.com/user-attachments/assets/b36c8258-cb1c-416f-be5e-98b17236039e
## Main Features
- Forward messages from a Discord channel to a Telegram channel.
- Forward DM
## Screenshots
- Server, Channel message forward


- Direct message forward


## Tech stack
- Python
- Discord Self-bot
- Discord.py
- telegram.py
- telegramify_markdown
## Prerequisites
- Python 3.13.0 or higher
- Telegram channel
## Configuration
1. clone the repository:
```
https://github.com/Any-bot/D2T-msg-forward.git
```
2. Go to the project directory:
```
cd D2T-msg-forward
```
3. Install the required packages:
```
pip install -r requirements.txt
```
4. Create a .env file in the root directory of the project and add the following variables:
```
DISCORD_USER_TOKEN=
TELEGRAM_TOKEN=
TELEGRAM_CHANNEL_ID=
```
5. Run the script:
```
python main.py
```
## Version 1.0 13/11/2024