Discord bot that shows server status

Hey,
So I was wondering if it was possible to have a discord bot that shows the server status when a command is triggered :
For example, i type !status and it shows me :
image
even if it’s not my server but a server I play on.

Read the /dynamic.json endpoint from the server ip