Message Formatting#
Discord utilizes a subset of markdown for rendering message content on its clients, while also adding some functionality to enable things like mentioning users and channels.
Formats#
Type |
Structure |
|---|---|
User |
|
Channel |
|
Role |
|
Game profile |
|
Slash command |
|
Slash command with subcommand |
|
Slash command with subcommand group |
|
Standard emoji |
Unicode characters |
Custom emoji |
|
Animated custom emoji |
|
Unix timestamp |
|
|
|
|
Using the markdown for users or roles will mention the target(s), and notify them depending on the sender’s permissions. Standard emoji are currently rendered using Twemoji for Desktop and Android while iOS and devices use Apple’s native emoji set.
Timestamps are expressed in seconds and display the given timestamp in the user’s timezone and locale.
Timestamp Styles#
Style |
Description |
Example Output |
|---|---|---|
t |
Short time |
|
T |
Medium time |
|
d |
Short date |
|
D |
Long date |
|
f (default) |
Long date, short time |
|
F |
Full date, short time |
|
s |
Short date, short time |
|
S |
Short date, medium time |
|
R |
Relative time |
|