mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
Fix
This commit is contained in:
parent
5c149ea0c1
commit
b6548f3cd3
2 changed files with 3 additions and 3 deletions
|
|
@ -57,7 +57,7 @@ async def mediainfo(client, message):
|
|||
"expire_in": 0,
|
||||
}
|
||||
response = await http.post('https://paste.yasir.eu.org/api/new', json=json_data)
|
||||
link = f"https://yasirbin.deta.dev/{response.json()['id']}"
|
||||
link = f"https://paste.yasir.eu.org/{response.json()['id']}"
|
||||
except:
|
||||
link = None
|
||||
markup = InlineKeyboardMarkup([[InlineKeyboardButton(text_, link)]])
|
||||
|
|
@ -89,7 +89,7 @@ async def mediainfo(client, message):
|
|||
"expire_in": 0,
|
||||
}
|
||||
response = await http.post('https://paste.yasir.eu.org/api/new', json=json_data)
|
||||
link = f"https://yasirbin.deta.dev/{response.json()['id']}"
|
||||
link = f"https://paste.yasir.eu.org/{response.json()['id']}"
|
||||
except:
|
||||
link = None
|
||||
markup = InlineKeyboardMarkup([[InlineKeyboardButton(text="💬 View in Web", url=link)]])
|
||||
|
|
|
|||
|
|
@ -183,7 +183,7 @@ async def wastepaste(_, message):
|
|||
"expire_in": 0,
|
||||
}
|
||||
response = await http.post('https://paste.yasir.eu.org/api/new', json=json_data)
|
||||
url = f"https://yasirbin.deta.dev/{response.json()['id']}"
|
||||
url = f"https://paste.yasir.eu.org/{response.json()['id']}"
|
||||
except Exception as e:
|
||||
return await editPesan(msg, f"ERROR: {e}")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue