diff --git a/misskaty/__init__.py b/misskaty/__init__.py index b6214cdb..11c1a0b9 100644 --- a/misskaty/__init__.py +++ b/misskaty/__init__.py @@ -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( diff --git a/misskaty/helper/media_helper.py b/misskaty/helper/media_helper.py index d4d01fec..48ac5cf9 100644 --- a/misskaty/helper/media_helper.py +++ b/misskaty/helper/media_helper.py @@ -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): diff --git a/misskaty/plugins/misc_tools.py b/misskaty/plugins/misc_tools.py index 236c89a4..2187142a 100644 --- a/misskaty/plugins/misc_tools.py +++ b/misskaty/plugins/misc_tools.py @@ -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).\nUsage: /tr en", + "Berikan Kode bahasa yang valid.\n[Available options](https://tgraph.yasirweb.eu.org/Lang-Codes-11-08).\nUsage: /tr en", ) target_lang = message.text.split(None, 2)[1] text = message.text.split(None, 2)[2] diff --git a/misskaty/plugins/paste.py b/misskaty/plugins/paste.py index 24044a89..a645d111 100644 --- a/misskaty/plugins/paste.py +++ b/misskaty/plugins/paste.py @@ -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. """