No, it’s not possible to obtain someone’s IP on Discord. Only the app itself has your IP.