def playlist_error(self, error, ctx): if isinstance(error, commands.MissingRequiredArgument): await self.bot.say('You need to pass in a playlist name.') else: await self.bot.say(error)