feat: Add Custom Emojis extension

This commit is contained in:
Jesse Wierzbinski 2024-08-18 16:11:45 +02:00
parent fb197167c7
commit 64cf9d3509
No known key found for this signature in database
5 changed files with 85 additions and 5 deletions

View file

@ -17,11 +17,11 @@ export const metadata = {
<Col>
<Properties>
<Property name="name" type="string" required={true}>
Emoji name, optionally surrounded by identification characters (for example, colons: `:happy_face:`).
Emoji name, surrounded by identification characters (for example, colons: `:happy_face:`).
Name must match the regex `^[a-zA-Z0-9_-]+$`.
Identification characters must not match the name regex (must not be alphanumeric/underscore/hyphen).
Identification characters must not match the name regex (must not be alphanumeric/underscore/hyphen). There may only be two identification characters, one at the beginning and one at the end.
</Property>
<Property name="content" type="ContentFormat" required={true} typeLink="/structures/content-format">
Emoji content. Must be an image format (`image/*`).