diff --git a/Discord/cogs/audio.py b/Discord/cogs/audio.py index 74296719df..aaf0e5797b 100644 --- a/Discord/cogs/audio.py +++ b/Discord/cogs/audio.py @@ -54,7 +54,7 @@ async def cog_check(self, ctx): fallback = "play" ) @commands.check_any(checks.is_permitted(), checks.is_guild_owner()) - async def audio(self, ctx, *, song: Optional[str]): #elif options[0] == "full": + async def audio(self, ctx, *, song: str): ''' Audio System - play a song All audio subcommands are also commands @@ -73,9 +73,6 @@ async def audio(self, ctx, *, song: Optional[str]): #elif options[0] == "full": raise RuntimeError( "audo join command not found when audio command invoked" ) - if not song: - await ctx.embed_reply(":grey_question: What would you like to play?") - return if "playlist" in song: await self.players[ctx.guild.id].add_playlist(ctx, song) return @@ -110,7 +107,7 @@ async def audio(self, ctx, *, song: Optional[str]): #elif options[0] == "full": description = "Supports [these sites](https://rg3.github.io/youtube-dl/supportedsites.html) and Spotify" ) @commands.check_any(checks.is_permitted(), checks.is_guild_owner()) - async def spotify(self, ctx, *, song: Optional[str]): + async def spotify(self, ctx, *, song: str): ''' Audio System - play a song All audio subcommands are also commands @@ -141,7 +138,7 @@ async def spotify_information(self, ctx, url: str): description = "Supports [these sites](https://rg3.github.io/youtube-dl/supportedsites.html) and Spotify", ) @commands.check_any(checks.is_permitted(), checks.is_guild_owner()) - async def youtube(self, ctx, *, song: Optional[str]): + async def youtube(self, ctx, *, song: str): ''' Audio System - play a song All audio subcommands are also commands