Host that bot on your own computer, give that bot a feature that the user wants to interact with. As for getting that info from discord, its easy. Regardless of what country or city or world you live on. The owner has the control and in all that paperwork you did not read when you got your internet and phone state this very information. For the normal user, you IP address may be you online address, but its like a rental. In that case, you have some additional protections that come with it. If you do, you know you do because you pay for it. Very few people have a dedicated IP address, which is one that never changes. It is owned by you internet service provider and even then, they may not even own it. There is a difference though, no ONE owns their IP.