Skip to content

Commit

Permalink
Merge pull request TeamDaisyX#13 from infotechbro/patch-1
Browse files Browse the repository at this point in the history
@InukaAsith merge pull request beru
  • Loading branch information
InukaAsith authored May 8, 2021
2 parents d869c30 + 5e1ba05 commit 72a7204
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions DaisyX/modules/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,11 @@ async def ytsearch(_, message):
i = 0
text = ""
while i < 3:
text += f"Title - {results[i]['title']}\n"
text += f"Duration - {results[i]['duration']}\n"
text += f"Views - {results[i]['views']}\n"
text += f"Channel - {results[i]['channel']}\n"
text += f"https://youtube.com{results[i]['url_suffix']}\n\n"
text += f"**Title:** `{results[i]['title']}`\n"
text += f"**Duration:** `{results[i]['duration']}`\n"
text += f"**Views:** `{results[i]['views']}`\n"
text += f"**Channel:** `{results[i]['channel']}`\n"
text += f"**Watch:** [YouTube](https://youtube.com{results[i]['url_suffix']})\n\n"
i += 1
await m.edit(text, disable_web_page_preview=True)
except Exception as e:
Expand Down

0 comments on commit 72a7204

Please sign in to comment.