mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
Add botapi search
This commit is contained in:
parent
2dfe015c2a
commit
fa6ae09e5a
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ async def inline_menu(_, inline_query: InlineQuery):
|
|||
headers = {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) " "Chrome/61.0.3163.100 Safari/537.36"}
|
||||
jsonapi = await http.get(f"https://github.com/yasirarism/telegram-bot-api-spec/raw/main/api.json", headers=headers, follow_redirects=True)
|
||||
parsemethod = jsonapi.json().get("methods")
|
||||
parsetypes = jsonapi.json().get("methods")
|
||||
parsetypes = jsonapi.json().get("types")
|
||||
datajson = []
|
||||
for method in parsemethod:
|
||||
if kueri.lower() in method.lower():
|
||||
|
|
|
|||
Loading…
Reference in a new issue