File Sharing via Discord Bot

Friends who have used Discord should know that pictures, audios, videos and any other files sent in any server will generate a link starting with https://cdn.discordapp.com/attachments/. The link is directly accessible, but unfortunately the link expires after 24 hours. But as long as the latest link is obtained every 24 hours, you should be able to use this to implement the image bed or file sharing function. Discord seems to have no API for personal accounts, but you can create a Bot at will....

Wednesday, April 10, 2024 ยท Vincent Young