If the server owner hasn't specified a specific expiration date for the Discord invite, it will automatically expire in 24 hours. You won't be able to join the server if your Discord link has reached its expiration date. Another factor to consider is how many times a person may click on a link before it expires.