This commit is contained in:
yasirarism 2023-09-26 23:04:15 +07:00 committed by GitHub
parent 0905e04949
commit 38da74a7dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -41,7 +41,7 @@ MOD_NOLOAD = ["subscene_dl"]
HELPABLE = {} HELPABLE = {}
cleanmode = {} cleanmode = {}
botStartTime = time.time() botStartTime = time.time()
misskaty_version = "v2.11.1 - Stable" misskaty_version = "v2.11.2 - Stable"
# Pyrogram Bot Client # Pyrogram Bot Client
app = Client( app = Client(

View file

@ -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_url=f"https://t.me/{BOT_USERNAME}",
author_name=BOT_USERNAME, author_name=BOT_USERNAME,
) )
return response["url"] return f"https://tgraph.yasirweb.eu.org/{response['path']}")
async def run_subprocess(cmd): async def run_subprocess(cmd):

View file

@ -350,7 +350,7 @@ async def translate(_, message):
else: else:
if len(message.command) < 3: if len(message.command) < 3:
return await message.reply_msg( 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] target_lang = message.text.split(None, 2)[1]
text = message.text.split(None, 2)[2] text = message.text.split(None, 2)[2]

View file

@ -20,7 +20,7 @@ __HELP__ = """
/paste [Text/Reply To Message] - Post text to My Pastebin. /paste [Text/Reply To Message] - Post text to My Pastebin.
/sbin [Text/Reply To Message] - Post text to Spacebin. /sbin [Text/Reply To Message] - Post text to Spacebin.
/neko [Text/Reply To Message] - Post text to Nekobin. /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. /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. /temp_paste [Text/Reply To Message] - Post text to tempaste.com using html style.
""" """