mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-09 05:04: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,
|
"expire_in": 0,
|
||||||
}
|
}
|
||||||
response = await http.post('https://paste.yasir.eu.org/api/new', json=json_data)
|
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:
|
except:
|
||||||
link = None
|
link = None
|
||||||
markup = InlineKeyboardMarkup([[InlineKeyboardButton(text_, link)]])
|
markup = InlineKeyboardMarkup([[InlineKeyboardButton(text_, link)]])
|
||||||
|
|
@ -89,7 +89,7 @@ async def mediainfo(client, message):
|
||||||
"expire_in": 0,
|
"expire_in": 0,
|
||||||
}
|
}
|
||||||
response = await http.post('https://paste.yasir.eu.org/api/new', json=json_data)
|
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:
|
except:
|
||||||
link = None
|
link = None
|
||||||
markup = InlineKeyboardMarkup([[InlineKeyboardButton(text="💬 View in Web", url=link)]])
|
markup = InlineKeyboardMarkup([[InlineKeyboardButton(text="💬 View in Web", url=link)]])
|
||||||
|
|
|
||||||
|
|
@ -183,7 +183,7 @@ async def wastepaste(_, message):
|
||||||
"expire_in": 0,
|
"expire_in": 0,
|
||||||
}
|
}
|
||||||
response = await http.post('https://paste.yasir.eu.org/api/new', json=json_data)
|
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:
|
except Exception as e:
|
||||||
return await editPesan(msg, f"ERROR: {e}")
|
return await editPesan(msg, f"ERROR: {e}")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue