A is a unique, 17-19 digit number assigned to every user, server, channel, message, and role. Unlike usernames, these never change.

The raw URL format for a txt attachment is generally: https://cdn.discordapp.com/attachments/[channel_id]/[attachment_id]/[filename].txt .

The activity folder (e.g., activity1/message.json ) contains channel_id and application_id entries.

You must enable Developer Mode in User Settings > Advanced .

They are primarily used by developers for bots, API integrations, and for advanced moderation tools.

You can append the file path to https://discord.website to view it formatted.

Text files ( .txt ) uploaded to Discord can be viewed directly or via specific web services that format them.