The tg-message-beautifier is a simple script that beautifies Telegram messages. It uses the Telethon library to interact with the Telegram API.
Before running the bot, make sure you have the following:
-
Python 3.x installed on your system.
-
telethonlibrary installed. You can install it usingpip:pip install -r requirements.txt
-
Clone this repository to your local machine.
-
Obtain your
api_idandapi_hashfrom my.telegram.org. Replace the empty strings inconfig.pywith your actualapi_idandapi_hash. -
If you are using userbot, set
userbottoTrueinconfig.py. -
Set the
messagevariable to what you would like to see in your message.
If userbot is set to True in the configuration, any message starting with a dot (.) will be ignored by the bot.
-
Run the
main.pyscript:python main.py -
The bot will now be running and listening for new messages.
This project is licensed under the MIT License.
Feel free to modify and use it according to your needs! If you encounter any issues or have suggestions, please feel free to create an issue or pull request.
Enjoy beautifying your messages with the tg-message-beautifier! 😊