dragonub / ubot /modules /font.py
dragxd's picture
uploading files
561cd5b
from ubot import *
__MODULE__ = "Font"
__HELP__ = """
Help For Fonts
• Command: <code>{0}font</code> [reply message/give text]
• Explanation: To change text with custom font.
"""
@PY.UBOT("font", sudo=True)
async def _(client, message):
await font_message(client, message)
@PY.INLINE("^get_font")
@INLINE.QUERY
async def _(client, inline_query):
await font_inline(client, inline_query)
@PY.CALLBACK("^get")
@INLINE.DATA
async def _(client, callback_query):
await font_callback(client, callback_query)
@PY.CALLBACK("^next")
@INLINE.DATA
async def _(client, callback_query):
await font_next(client, callback_query)
@PY.CALLBACK("^prev")
@INLINE.DATA
async def _(client, callback_query):
await font_prev(client, callback_query)