If you want to find someone's IP address then you can use Discord IP Grabber Extension. Here are the the steps that you can use and get IP address:
Go to Discord's website
Enable Developer portal
Click on application option
and create new application
Go to visit OAuth2
And copy client ID and click on add redirect option
For more visit: https://webcrazy.net/find-someones-ip-address-from-discord/