It already has anyway.
Ive requested my discord data once and everytime you do anything in discord it explicitly saves and stores the location of where you were when you interacted with discord.
I no longer have the data on my machine so i cant verify anymore unless i request my data again. However, i remember a discord server im in, enabled that accounts in the server needed to be phone number verified if they wanted to chat. This was done to combat spammers and trolls. i told them to bugger off because im not giving discord my phone number. So its possible my phone number was not in there, but knowing discord it could have been