Son of a @**$&#^
well that is some **** luck!!
I was going to mention that most new phones are resistant if not water proof, then I looked up your phone and …...well just dang
"
Moto G5/
Plus is not
water-
proof (like all its rivals). The smartphone is splash-
and dust-
resistant only. No, It is not
waterproof but It comes with nano coating technology."
https://www.quora.com/Is-Moto-g5-waterproof
I am surprised that anyone would still make a phone that is not water resistant/proof.
My friend has a Galaxy S9+ and she dropped it into a water fountain and it never skipped a beat. If you have to buy another one, you might look for a water resistant/proof one