12 ms·
Attachment links include the server ID but not the channel ID, so it's not like you can enumerate for files in a server by obtaining the server and channel IDs.
by judge2020 4y ago
Attachment links include the server ID but not the channel ID, so it's not like you can enumerate for files in a server by obtaining the server and channel IDs.
Each attachment's ID is in a snowflake[0], so the urls are
cdn.discordapp.com/attachments/:SERVER_ID/:ATTACHMENT_ID/:filename.png
0: https://discord.com/developers/docs/resources/channel#attachment-object https://discord.com/developers/docs/resources/channel#attach...