@commands.command()<EOL><INDENT>async def stream(self, ctx, *, url):<DEDENT>
async with ctx.typing():<EOL><INDENT>player = await YTDLSource.from_url(url, loop=self.bot.loop, stream=True)<EOL>ctx.voice_client.play(player, after=lambda e: print('<STR_LIT>' % e) if e else None)<EOL><DEDENT>await ctx.send('<STR_LIT>'.format(player.title))<EOL>
Streams from a url (same as yt, but doesn't predownload)