From 84245880da4e166241b01ecb986934e5d2a0235e Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Sun, 28 Apr 2024 19:08:55 -0700 Subject: [PATCH 1/2] Wrap message formats in code blocks --- docs/Reference.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/Reference.md b/docs/Reference.md index a7221012e4..aef5b06daa 100644 --- a/docs/Reference.md +++ b/docs/Reference.md @@ -255,17 +255,17 @@ Discord utilizes a subset of markdown for rendering message content on its clien | Type | Structure | Example | |-------------------------|---------------------|-------------------------------| -| User | <@USER_ID> | <@80351110224678912> | -| User \* | <@!USER_ID> | <@!80351110224678912> | -| Channel | <#CHANNEL_ID> | <#103735883630395392> | -| Role | <@&ROLE_ID> | <@&165511591545143296> | -| Slash Command \*\* | | | -| Standard Emoji | Unicode Characters | 💯 | -| Custom Emoji | <:NAME:ID> | <:mmLol:216154654256398347> | -| Custom Emoji (Animated) | | | -| Unix Timestamp | | | -| Unix Timestamp (Styled) | | | -| Guild Navigation | \ | \ | +| User | `<@USER_ID>` | `<@80351110224678912>` | +| User \* | `<@!USER_ID>` | `<@!80351110224678912>` | +| Channel | `<#CHANNEL_ID>` | `<#103735883630395392>` | +| Role | `<@&ROLE_ID>` | `<@&165511591545143296>` | +| Slash Command \*\* | `` | `` | +| Standard Emoji | Unicode Characters | 🦶 | +| Custom Emoji | `<:NAME:ID>` | `<:mmLol:216154654256398347>` | +| Custom Emoji (Animated) | `` | `` | +| Unix Timestamp | `` | `` | +| Unix Timestamp (Styled) | `` | `` | +| Guild Navigation | `` | `` | Using the markdown for either users, roles, or channels will usually mention the target(s) accordingly, but this can be suppressed using the `allowed_mentions` parameter when creating a message. Standard emoji are currently rendered using [Twemoji](https://twemoji.twitter.com/) for Desktop/Android and Apple's native emoji on iOS. From 9198c87bf43ab294c240d71b7fa8d504c4a20a8f Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Sun, 28 Apr 2024 19:11:41 -0700 Subject: [PATCH 2/2] fix tbl --- docs/Reference.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Reference.md b/docs/Reference.md index aef5b06daa..7b616e9b0e 100644 --- a/docs/Reference.md +++ b/docs/Reference.md @@ -253,8 +253,8 @@ Discord utilizes a subset of markdown for rendering message content on its clien ###### Formats -| Type | Structure | Example | -|-------------------------|---------------------|-------------------------------| +| Type | Structure | Example | +|-------------------------|-----------------------|---------------------------------| | User | `<@USER_ID>` | `<@80351110224678912>` | | User \* | `<@!USER_ID>` | `<@!80351110224678912>` | | Channel | `<#CHANNEL_ID>` | `<#103735883630395392>` |