Discord-to-Telegram icon indicating copy to clipboard operation
Discord-to-Telegram copied to clipboard

Python script that forwards discord messages to telegram in real time

Discord-to-Telegram banner

Messages forwarder in real time by Websockets

Report Bug ยท Request Feature

Discord-To-Teleram forks Discord-to-Telegram stars Discord-to-Telegramissues Discord-to-Telegram pull-requests

:arrow_down: Installation

To get a local copy installed and working, follow these steps:

  • Clone this repository

    git clone https://github.com/joaroque/Discord-to-Telegram.git
    
  • Enter the project folder

    cd Discord-to-Telegram
    

๐Ÿ“ฆ Install dependencies

  1. Create a virtual env
  python3 -m venv venv
  1. Active virtual env

  2. Use pip install -r requirements.txt to install all dependencies.

๐Ÿš€ Setup the bot

  1. Get telegram client credentials, get the API_ID, API_HASH and CLIENT_NAME Discord-to-Telegram banner

  2. Get discord auth token from discord requests Discord-to-Telegram banner

  3. Setting up .ini file

     [TELEGRAM]
     API_ID =
     API_HASH =
     CLIENT_NAME =
     DEST_CHANNEL = -100123456789
    
     [DISCORD]
     SOURCE_CHANNEL =
     AUTH_TOKEN =
    
    
  4. Start the bot

     python main.py
    

Meta

Get discord channel id

Get Telegram channel id

I made this banner using saviomartin's Slickr tool.