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
- Create a virtual env
python3 -m venv venv
-
Active virtual env
-
Use
pip install -r requirements.txt
to install all dependencies.
- 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
Get discord channel id
Get Telegram channel id
I made this banner using saviomartin's Slickr tool.