Skip to content

Python script that forwards discord messages to telegram in real time

Notifications You must be signed in to change notification settings

joaroque/Discord-to-Telegram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

⬇️ 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

  1. Get discord auth token from discord requests

Discord-to-Telegram banner

  1. Setting up .ini file

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

     python main.py

Meta

Get discord channel id

Get Telegram channel id

I made this banner using saviomartin's Slickr tool.

About

Python script that forwards discord messages to telegram in real time

Topics

Resources

Stars

Watchers

Forks

Languages