[YouTube] Gotta pass that context on
just keep on movin on
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user