USB-C charger not working (MBP 2017)

This is just a guess as you've not mentioned the cables you're using, but:

Could it be that you're using a non e-Marked USB C cable? If so, the cable may be the problem. Try your charger with your friend's cable to check this.