mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
fix botname
This commit is contained in:
parent
6348766cce
commit
f5889bbfea
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ async def byPassPh(url: str, name: str):
|
|||
html = chevron.render(template, kusonime)
|
||||
telegraph = Telegraph()
|
||||
if not telegraph.get_access_token():
|
||||
await telegraph.create_account(short_name=bot_name)
|
||||
await telegraph.create_account(short_name=BOT_USERNAME)
|
||||
page = await telegraph.create_page(f"{kusonime.get('title')} By {escape(name)}", html_content=html)
|
||||
results.update({"error": False, "url": "https://telegra.ph/{}".format(page["path"])})
|
||||
del results["error_message"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue