Skip to content

Simple two-way bridge between Telegram and Discord in python

Notifications You must be signed in to change notification settings

mayman007/TelegramDiscordBridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Simple two-way bridge between Telegram and Discord in python

Resources

Stars

Watchers

Forks

Languages