diff --git a/youtube/youtube.py b/youtube/youtube.py index ed18ba6..4f6b301 100644 --- a/youtube/youtube.py +++ b/youtube/youtube.py @@ -26,7 +26,7 @@ class YouTube: return url_list - @commands.command() + @commands.command(pass_context=True) async def youtube(self, ctx, *, query: str): """Search on Youtube.""" result = await self._youtube_results(query)