From e036835bf4e7ac495f5b84ac6c07fc5942a21216 Mon Sep 17 00:00:00 2001 From: ekzyis Date: Fri, 24 Sep 2021 22:36:25 +0200 Subject: [PATCH] Remove unnecessary comments --- src/bot.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/bot.py b/src/bot.py index 927ac97..0a52a8e 100644 --- a/src/bot.py +++ b/src/bot.py @@ -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