The new temporary file links will expire after 24 hours when shared outside of Discord, as it cracks down on malware.

https://www.engadget.com/discord-is-switching-to-expiring-links-for-files-shared-off-platform-202533531.html