Skip to content

Commit f9c249e

Browse files
committed
[docs] Improve emoji WebP format documentation clarity
1 parent 4a0579c commit f9c249e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/resources/emoji.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ Emojis cannot be converted between normal and premium after creation.
3232

3333
###### Emoji Formats
3434

35-
Emojis can be uploaded as JPEG, PNG, GIF, WebP, and AVIF formats. All emojis (regardless of original format) can be served as WebP. We highly recommend that developers request emojis as WebP for maximum performance and compatibility. The Discord client uses WebP for all emojis displayed in-app.
35+
Emoji can be uploaded as JPEG, PNG, GIF, WebP, and AVIF formats. All emoji (regardless of original format) can be served as WebP. We highly recommend that developers use the `.webp` extension when fetching emoji so they're rendered as WebP for maximum performance and compatibility. The Discord client uses WebP for all emoji displayed in-app.
3636

37-
Still WebP emojis can be requested using the `.webp` file extension. For animated WebP emojis, use the `.webp` extension with the `?animated=true` query parameter.
37+
Still WebP emoji can be requested using the `.webp` file extension. For animated WebP emoji, use the `.webp` extension with the `?animated=true` query parameter.
3838

3939
###### Application-Owned Emoji
4040

@@ -117,7 +117,7 @@ Emojis and animated emojis have a maximum file size of 256 KiB. Attempting to up
117117
:::
118118

119119
:::info
120-
We highly recommend requesting emojis as WebP for maximum performance and compatibility. See the Emoji Formats section above for more details.
120+
We highly recommend that developers use the `.webp` extension when fetching emoji so they're rendered as WebP for maximum performance and compatibility. See the [Emoji Formats](#emoji-object-emoji-formats) section above for more details.
121121
:::
122122

123123
:::info
@@ -203,7 +203,7 @@ Emojis and animated emojis have a maximum file size of 256 KiB. Attempting to up
203203
:::
204204

205205
:::info
206-
We highly recommend requesting emojis as WebP for maximum performance and compatibility. See the [Emoji Formats](#emoji-object-emoji-formats) section above for more details.
206+
We highly recommend that developers use the `.webp` extension when fetching emoji so they're rendered as WebP for maximum performance and compatibility. See the [Emoji Formats](#emoji-object-emoji-formats) section above for more details.
207207
:::
208208

209209
###### JSON Params

0 commit comments

Comments
 (0)