Discord mentions and syntax
Build the syntax for users, roles, channels, slash commands, emoji and message links from IDs – or paste a message and get every mention explained.
User, role or channel
<@80351110224678912>Slash command
</ticket open:1173322156372205608>Custom emoji
<:wave:1067157240457003048>Timestamp
<t:1793188920:R>Server navigation
<id:customize>Message or channel link
https://discord.com/channels/41771983423143937/41771983423143937/1293458201946210304@everyone and @here
These are plain text – just type @everyone or @here. Whether anyone gets pinged depends on the “Mention @everyone, @here and All Roles” permission. For webhooks and bots, allowed_mentions controls it.
Paste & explain6 items
- User mention
<@80351110224678912>Pings this person and shows their name.
User:80351110224678912· created Aug 10, 2015, 5:26 PM - Channel mention
<#41771983423143937>Clickable channel name. People who can't see the channel get “No Access”.
Channel:41771983423143937· created Apr 26, 2015, 6:26 AM - Slash command
</ticket open:1173322156372205608>Clickable command /ticket open – fills the message box when clicked.
Command:1173322156372205608· created Nov 12, 2023, 6:03 PM - Timestamp
<t:1798761600:F>Shows everyone the time in their own zone, e.g. “Friday, January 1, 2027 at 12:00 AM”.
- Server navigation
<id:customize>Jumps to a part of the server.
- Message link
https://discord.com/channels/41771983423143937/41771983423143937/1293458201946210304Jumps to exactly this message.
Server:41771983423143937· created Apr 26, 2015, 6:26 AMChannel:41771983423143937· created Apr 26, 2015, 6:26 AMMessage:1293458201946210304· created Oct 9, 2024, 6:21 AM
Names in the preview are placeholders – only Discord knows the real names.
How it works
- Turn on Developer Mode in Discord under Settings → Advanced.
- Right-click a user, role, channel or message → “Copy ID”.
- Paste the ID into the matching builder – a full mention or link works too.
- Copy the finished syntax into your message, embed or bot code.
The decoder finds every mention, emoji, timestamp, command and message link in pasted text and shows when each ID was created. An ID doesn't say what it belongs to – only when it was made.
FAQ
How do I mention a slash command so it's clickable?
With </name:COMMAND_ID>, for subcommands </name sub:ID> and with a group </name group sub:ID>. You find the ID in Server Settings under Integrations.
What is the syntax for users, roles and channels?
User: <@ID>, role: <@&ID>, channel: <#ID>. The old user form <@!ID> still works but isn't needed any more.
How do I use custom emoji in bots and webhooks?
With <:name:ID>, animated ones with <a:name:ID>. You see the finished syntax if you type \:emoji: in Discord and send it.
Do I need special syntax for @everyone?
No, @everyone and @here are plain text. Whether anyone actually gets pinged depends on the sender's permission – for webhooks and bots on allowed_mentions.
What does <id:customize> mean?
It links to part of the server: <id:customize> opens Channels & Roles, <id:browse> Browse Channels, <id:guide> the Server Guide and <id:linked-roles> Linked Roles.