This is quite easy to do with your discord report, infact I have already achieved this. In my own version of it.
It is not actually as difficult as you might think. You can just pass the server IP address from where the report was made and get the port and then input that into a database then read from the database and attach the two and create an ip address, and then use the bot code to do the rest of the work for you.