Skip to content

Commit a18222f

Browse files
authored
document soundmojis
1 parent 6978149 commit a18222f

File tree

1 file changed

+31
-13
lines changed

1 file changed

+31
-13
lines changed

docs/Reference.mdx

Lines changed: 31 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -257,19 +257,20 @@ Discord utilizes a subset of markdown for rendering message content on its clien
257257

258258
###### Formats
259259

260-
| Type | Structure | Example |
261-
|-------------------------|-----------------------|---------------------------------|
262-
| User | `<@USER_ID>` | `<@80351110224678912>` |
263-
| User \* | `<@!USER_ID>` | `<@!80351110224678912>` |
264-
| Channel | `<#CHANNEL_ID>` | `<#103735883630395392>` |
265-
| Role | `<@&ROLE_ID>` | `<@&165511591545143296>` |
266-
| Slash Command \*\* | `</NAME:COMMAND_ID>` | `</airhorn:816437322781949972>` |
267-
| Standard Emoji | Unicode Characters | 🦶 |
268-
| Custom Emoji | `<:NAME:ID>` | `<:mmLol:216154654256398347>` |
269-
| Custom Emoji (Animated) | `<a:NAME:ID>` | `<a:b1nzy:392938283556143104>` |
270-
| Unix Timestamp | `<t:TIMESTAMP>` | `<t:1618953630>` |
271-
| Unix Timestamp (Styled) | `<t:TIMESTAMP:STYLE>` | `<t:1618953630:d>` |
272-
| Guild Navigation | `<id:TYPE>` | `<id:customize>` |
260+
| Type | Structure | Example |
261+
|-------------------------|-----------------------------|-------------------------------------------------|
262+
| User | `<@USER_ID>` | `<@80351110224678912>` |
263+
| User \* | `<@!USER_ID>` | `<@!80351110224678912>` |
264+
| Channel | `<#CHANNEL_ID>` | `<#103735883630395392>` |
265+
| Role | `<@&ROLE_ID>` | `<@&165511591545143296>` |
266+
| Slash Command \*\* | `</NAME:COMMAND_ID>` | `</airhorn:816437322781949972>` |
267+
| Standard Emoji | Unicode Characters | 🦶 |
268+
| Custom Emoji | `<:NAME:ID>` | `<:mmLol:216154654256398347>` |
269+
| Custom Emoji (Animated) | `<a:NAME:ID>` | `<a:b1nzy:392938283556143104>` |
270+
| Unix Timestamp | `<t:TIMESTAMP>` | `<t:1618953630>` |
271+
| Unix Timestamp (Styled) | `<t:TIMESTAMP:STYLE>` | `<t:1618953630:d>` |
272+
| Guild Navigation | `<id:TYPE>` | `<id:customize>` |
273+
| Soundmoji \*\*\* | `<sound:GUILD_ID:SOUND_ID>` | `<sound:613425648685547541:987654321987654321>` |
273274

274275
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.
275276

@@ -279,6 +280,8 @@ Timestamps are expressed in seconds and display the given timestamp in the user'
279280

280281
\*\* Subcommands and subcommand groups can also be mentioned by using respectively `</NAME SUBCOMMAND:ID>` and `</NAME SUBCOMMAND_GROUP SUBCOMMAND:ID>`.
281282

283+
\*\*\* `GUILD_ID` should be `0` when a [default sound](#DOCS_RESOURCES_SOUNDBOARD/list-default-soundboard-sounds) is used.
284+
282285
###### Timestamp Styles
283286

284287
| Style | Example Output | Description |
@@ -529,3 +532,18 @@ For example:
529532
| ja | Japanese | 日本語 |
530533
| zh-TW | Chinese, Taiwan | 繁體中文 |
531534
| ko | Korean | 한국어 |
535+
536+
537+
## Sounds
538+
539+
#### Base URL
540+
541+
```
542+
https://cdn.discordapp.com/
543+
```
544+
545+
###### Endpoints
546+
547+
| Type | Path |
548+
|------------------|----------------------------------------------------------------------------------|
549+
| Soundboard Sound | soundboard-sounds/[sound_id](#DOCS_RESOURCES_SOUNDBOARD/soundboard-sound-object) |

0 commit comments

Comments
 (0)