📊 Sᴛʏʟɪsʜ Tᴇxᴛ Gᴇɴᴇʀᴀᴛᴏʀ Cᴏᴅᴇ Tᴘʏ
🎛Commond : /changfont
❗️Tpy
bot.replyText(chat_id=message.chat.id,
text=f"""
SEND YOUR TEXT """,
parse_mode="html")
Bot.handleNextCommand("change")
🎛 Commond : change
❗️Tpy
def apply_small_caps(text):
small_caps_mapping = {
'a': 'ᴀ', 'b': 'ʙ', 'c': 'ᴄ', 'd': 'ᴅ', 'e': 'ᴇ', 'f': 'ꜰ', 'g': 'ɢ',
'h': 'ʜ', 'i': 'ɪ', 'j': 'ᴊ', 'k': 'ᴋ', 'l': 'ʟ', 'm': 'ᴍ', 'n': 'ɴ',
'o': 'ᴏ', 'p': 'ᴘ', 'q': 'Q', 'r': 'ʀ', 's': 's', 't': 'ᴛ', 'u': 'ᴜ',
'v': 'ᴠ', 'w': 'ᴡ', 'x': 'x', 'y': 'ʏ', 'z': 'ᴢ',
'A': 'ᴀ', 'B': 'ʙ', 'C': 'ᴄ', 'D': 'ᴅ', 'E': 'ᴇ', 'F': 'ꜰ', 'G': 'ɢ',
'H': 'ʜ', 'I': 'ɪ', 'J': 'ᴊ', 'K': 'ᴋ', 'L': 'ʟ', 'M': 'ᴍ', 'N': 'ɴ',
'O': 'ᴏ', 'P': 'ᴘ', 'Q': 'Q', 'R': 'ʀ', 'S': 's', 'T': 'ᴛ', 'U': 'ᴜ',
'V': 'ᴠ', 'W': 'ᴡ', 'X': 'x', 'Y': 'ʏ', 'Z': 'ᴢ'
}
small_caps_text = ''.join(small_caps_mapping.get(char, char) for char in text)
return small_caps_text
stylish_text = apply_small_caps(message.text) # Assuming message.text is the user input
bot.sendMessage(chat_id=u, text=stylish_text)
© Copyright Claim By
@ANUJ_BOTS