Skip to content

Commit

Permalink
[Discord] Improve documentation for search youtube command
Browse files Browse the repository at this point in the history
  • Loading branch information
Harmon758 committed Jul 29, 2023
1 parent 538b905 commit 80e87c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Discord/cogs/audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ async def radio_off(self, ctx):
@audio.command(name = "search")
@checks.not_forbidden()
async def audio_search(self, ctx, *, search):
'''Find a Youtube video'''
'''Search for a YouTube video'''
# TODO: Only invoke when parent command invoked with youtube or yt
if command := ctx.bot.get_command("search youtube"):
await ctx.invoke(command, search = search)
Expand Down
2 changes: 1 addition & 1 deletion Discord/cogs/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@ async def yahoo(self, ctx, *search: str):

@search.command(name = "youtube", aliases = ["yt"])
async def search_youtube(self, ctx, *, search: str):
'''Find a Youtube video'''
'''Search for a YouTube video'''
# Note: audio search command invokes this command
ydl = youtube_dl.YoutubeDL(
{"default_search": "auto", "noplaylist": True, "quiet": True}
Expand Down

0 comments on commit 80e87c8

Please sign in to comment.