@CodeSintaxHighLightBot helps you to format messages with programming language code
You need to have python installed in your system
https://www.python.org/downloads/
pip install -r requirements.txt
Create a file named .env
in project directory root
Add the below variables:
TOKEN='YourTelegramBotToken'
HCTI_API_USER_ID='YourHCTIAPIUserID'
HCTI_API_KEY='YourHCTIAPIKey'
@CodeSintaxHighLightBot use https://hcti.io/ API to generate an image with formatted message
python codesintaxhighlightbot.py
- /help Show bot's help
- /langs Show supported langs
- /format Format the code
For usage /format
command use the below sintax
/format python
def function hello():
print('hello')