Remove unnecessary comments

This commit is contained in:
ekzyis 2021-09-24 22:36:25 +02:00
parent 98ecfaa875
commit e036835bf4
1 changed files with 0 additions and 3 deletions

View File

@ -16,8 +16,6 @@ class Music(commands.Cog):
@commands.command()
async def stream(self, ctx, *, url):
"""Streams from a url"""
async with ctx.typing():
player = await YTDLSource.from_url(url, loop=self.bot.loop, stream=True)
ctx.voice_client.play(player, after=lambda e: print(f"Player error: {e}") if e else None)
@ -26,7 +24,6 @@ class Music(commands.Cog):
@commands.command()
async def stop(self, ctx):
"""Stops and disconnects the bot from voice"""
await ctx.voice_client.disconnect()
@stream.before_invoke