Skip to content

Latest commit

 

History

History
44 lines (37 loc) · 1.67 KB

README.md

File metadata and controls

44 lines (37 loc) · 1.67 KB

Telegram Discord Bridge

Simple two-way bridge between Telegram and Discord in python


discord.py pyrogram

Features

  • It can transfer messages from both Telegram to Discord and Discord to Telegram
  • Supports transfaring media, documents, voice messages and stickers
  • Create as many bridges as you like
  • Easy to setup and run

Installation Guide

  1. Create a Discord Bot and copy your bot token and application ID
  2. Set up a Telegram Application and copy your API ID and API Hash
  3. Install python 3.8 or higher and git and add them to the path
  4. Git-clone this repo & change directory
git clone https://github.com/Shinobi7k/TelegramDiscordBridge.git

cd TelegramDiscordBridge
  1. Install modules using pip
pip install -r requirements.txt
  1. Copy example.settings.yaml to settings.yaml and fill the needed variables
  2. Run the main file
python main.py
  1. You will see a message in the terminal asking for a phone number or a bot token, this is needed by Telegram only the first time you run the bridge. So either enter your phone number or your bot token

PS: Make sure to give the Telegram bot access to messages.