Change telegraph url

This commit is contained in:
Yasir Aris M 2024-09-24 07:26:55 +07:00 committed by GitHub
parent b1dc80ad91
commit 365f1b9eec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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_name=BOT_USERNAME,
)
return f"https://graph.org/{response['path']}"
return f"https://te.legra.ph/{response['path']}"
async def run_subprocess(cmd):