mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 09:44:50 +00:00
Fix
This commit is contained in:
parent
0905e04949
commit
38da74a7dc
4 changed files with 4 additions and 4 deletions
|
|
@ -41,7 +41,7 @@ MOD_NOLOAD = ["subscene_dl"]
|
|||
HELPABLE = {}
|
||||
cleanmode = {}
|
||||
botStartTime = time.time()
|
||||
misskaty_version = "v2.11.1 - Stable"
|
||||
misskaty_version = "v2.11.2 - Stable"
|
||||
|
||||
# Pyrogram Bot Client
|
||||
app = Client(
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ async def post_to_telegraph(is_media: bool, title=None, content=None, media=None
|
|||
author_url=f"https://t.me/{BOT_USERNAME}",
|
||||
author_name=BOT_USERNAME,
|
||||
)
|
||||
return response["url"]
|
||||
return f"https://tgraph.yasirweb.eu.org/{response['path']}")
|
||||
|
||||
|
||||
async def run_subprocess(cmd):
|
||||
|
|
|
|||
|
|
@ -350,7 +350,7 @@ async def translate(_, message):
|
|||
else:
|
||||
if len(message.command) < 3:
|
||||
return await message.reply_msg(
|
||||
"Berikan Kode bahasa yang valid.\n[Available options](https://telegra.ph/Lang-Codes-11-08).\n<b>Usage:</b> <code>/tr en</code>",
|
||||
"Berikan Kode bahasa yang valid.\n[Available options](https://tgraph.yasirweb.eu.org/Lang-Codes-11-08).\n<b>Usage:</b> <code>/tr en</code>",
|
||||
)
|
||||
target_lang = message.text.split(None, 2)[1]
|
||||
text = message.text.split(None, 2)[2]
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ __HELP__ = """
|
|||
/paste [Text/Reply To Message] - Post text to My Pastebin.
|
||||
/sbin [Text/Reply To Message] - Post text to Spacebin.
|
||||
/neko [Text/Reply To Message] - Post text to Nekobin.
|
||||
/tgraph [Text/Reply To Message] - Post text/media to Telegra.ph.
|
||||
/tgraph [Text/Reply To Message] - Post text/media to Telegraph.
|
||||
/rentry [Text/Reply To Message] - Post text to Rentry using markdown style.
|
||||
/temp_paste [Text/Reply To Message] - Post text to tempaste.com using html style.
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue