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.
-
telethon
library installed. You can install it usingpip
:pip install -r requirements.txt
-
Clone this repository to your local machine.
-
Obtain your
api_id
andapi_hash
from my.telegram.org. Replace the empty strings inconfig.py
with your actualapi_id
andapi_hash
. -
If you are using userbot, set
userbot
toTrue
inconfig.py
. -
Set the
message
variable 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.py
script: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! 😊