Skip to content

Modified code made by the original repo creator. Specifically I made the discord bot run 24/7 instead of having it restart every time a message is sent, (this caused any logging to have a multiple second delay). I also removed the logging to multiple discord channels

License

Notifications You must be signed in to change notification settings

Sqble/Telegram-To-Discord-Bot-Fixed

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • JOIN Support & FAQ Discord 👉
As always, I took bits from an open source repo and rebranded it into a useful bot with detailed instructions.
Please star my repo if this contribution helped you ! Its FREEE !

Please Join Support & FAQ Discord if you have questions.

Telegram to Discord Message Bot — Forward Telegram Messages to Discord

  • Advanced python users post your debug queries here :

Description

Forwardgram is a free and open source, telegram to discord message bot. It enables one to forward messages from Multiple Telegram channels to one (or more) Telegram/Discord channels of your own. This python bot monitors multiple telegram channels. When a new message/entity is sent, it will parse the response and forward it to a discord channel using your own personalized bot. It will also forward the same message to your own Telegram channel.

Dependencies

  1. Python 3.6+
  2. Create you own discord bot, add it to your server and retrive token. Follow Steps here.
  3. Have a Telegram account with valid phone number

Installing and Setup

  1. Clone this repository
  2. Open your choice of console (or Anaconda console) and navigate to cloned folder
  3. Run Command: python3 -m pip install -r requirements.txt.
  4. Fill out a configuration file. An exmaple file can be found at config.yml.

Filling config.yml file

  • Add your Telegram api_id and api_hash to config.yml | Read more here

  • Add your discord_bot_token to config.yml | Read more here

  • Add the Discord channel ID you would like to log to at discord_channel.

  • Locate the Telegram channels you would like to log and set their names at input_channel_names

Running

  • Run the command python3 forwardgram.py
***PLEASE NOTE:  In the first time initializing the script, you will be requried to validate your phone number using telegram API. This happens only at the first time (per session name).

Authors

  • Karan Kapuria
  • voidbar
  • Brent Stanfield (discord bot delay fix & rewrite)

Buy Me A Coffee

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Modified code made by the original repo creator. Specifically I made the discord bot run 24/7 instead of having it restart every time a message is sent, (this caused any logging to have a multiple second delay). I also removed the logging to multiple discord channels

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%