Legislatively, the UK is among the stricter regimes wrt online age verification. It's a place you want to be VPNing out of. Discord is apparently rolling this out worldwide out of their own free will, not due to legislative pressures.
It's a pre-emptive move against any (potential) legislative pressures.