[YouTube] Gotta pass that context on

just keep on movin on
This commit is contained in:
aikaterna
2020-08-04 17:07:50 -07:00
committed by GitHub
parent fd199aea93
commit a7fd5930f9

View File

@@ -26,7 +26,7 @@ class YouTube:
return url_list return url_list
@commands.command() @commands.command(pass_context=True)
async def youtube(self, ctx, *, query: str): async def youtube(self, ctx, *, query: str):
"""Search on Youtube.""" """Search on Youtube."""
result = await self._youtube_results(query) result = await self._youtube_results(query)