mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
fix
This commit is contained in:
parent
d7ff7209cf
commit
1729e65c7d
1 changed files with 2 additions and 1 deletions
|
|
@ -116,7 +116,8 @@ async def inline_menu(_, inline_query: InlineQuery):
|
|||
msg = f"<b>{method}</b> (<code>{returns[:-2]}</code>)\n"
|
||||
msg += f"{description}\n\n"
|
||||
msg += f"<b>Variables:</b>\n"
|
||||
# msg += f"<code>{method}<code> ({fields})\n<b>Required:</b> {parsemethod[method]['fields']['required']}\n{parsemethod[method]['fields']['description']}\n\n"
|
||||
for i in parsemethod[method]["fields"]:
|
||||
msg += f"<code>{parsemethod[method]['fields']['name']}<code> ({parsemethod[method]['fields']['types']})\n<b>Required:</b> {parsemethod[method]['fields']['required']}\n{parsemethod[method]['fields']['description']}\n\n"
|
||||
datajson.append(
|
||||
InlineQueryResultArticle(
|
||||
title=method,
|
||||
|
|
|
|||
Loading…
Reference in a new issue