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