minetotg

A tool that reformat string with Minecraft text formatting to Telegram HTML.


Keywords
Telegram, Formatting, Minecraft, text-formatting, translate
License
Other
Install
pip install minetotg==1.0.1

Documentation

minetotg

PyPI - Downloads PyPI - Version PyPI - Status PyPI - License PyPI - Python Version

This project was created in order to help Minecraft community to transform game text formatting to Telegram HTML format.

Installation

pip install minetotg

Usage

from minetotg import reformat

some_reformatted_string = reformat("§kSpoiler§r§lBold§r")
print(some_reformatted_string) # Output: <tg-spoiler>Spoiler</tg-spoiler><b>Bold</b>