Faster way of checking if server is up With discord bot


Right, so i created a command for a Discord bot that checks if our server name is in fivems server api. This works however takes a while to update, so i was wondering if there is any simpler method of doing this? This is done in python. Also tried pinging but only works if i ping the vps which is no use.


Maybe check for a response with a port check ?


Sorry for the late response, was asleep. Thanks! That worked really well.