〰️〰️〰️〰️〰️〰️〰️〰️ ⬇️ ⬇️ Join FAQ & Support Discord ⬇️ ⬇️ 〰️〰️〰️〰️〰️〰️
〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️ ⬇️ ⬇️ Source Code ⬇️ ⬇️ 〰️〰️〰️〰️〰️〰️〰️〰️
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.
python3 -m pip install -r requirements.txt
.config.yml-sample
.config.yml-sample
to config.yml
config.yml
filechannel_send
and channel_recieve
and fill in their channel ids in config.ymlAdd your Telegram api_id and api_hash to config.yml | Read more here |
Add your discord_bot_token to config.yml | Read more here |
discord_1_channel
channel id. Remember when you remove extra discord channels you have to update code in discord_messager.py
under comment DISCORD SERVER START EVENT
and MESSAGE SCREENER
discord_messager.py
config.yml
; discord_messager.py
will have to be updated. If you know basic python you will understand the code.config.yml
can added without any code change.Read the Version History and Changelog and below before running the script.
Run the command python3 forwardgram.py config.yaml
***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).
SystemExit: None
when discord messages are sent successfully. This is because we trigger discord_messager.py
as subprocess when a new telegram message is sent in channel_send
This project is licensed under the MIT License - see the LICENSE.md file for details