Discord-to-Telegram
Discord-to-Telegram copied to clipboard
Python script that forwards discord messages to telegram in real time
Messages forwarder in real time by Websockets
: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
- Create a virtual env
python3 -m venv venv
-
Active virtual env
-
Use
pip install -r requirements.txt
to install all dependencies.
๐ Setup the bot
-
Get telegram client credentials, get the API_ID, API_HASH and CLIENT_NAME
-
Get discord auth token from discord requests
-
Setting up
.ini
file[TELEGRAM] API_ID = API_HASH = CLIENT_NAME = DEST_CHANNEL = -100123456789 [DISCORD] SOURCE_CHANNEL = AUTH_TOKEN =
-
Start the bot
python main.py
Meta
Get discord channel id
Get Telegram channel id
I made this banner using saviomartin's Slickr tool.