Discord Webhook
Execute Discord Webhook
| Type | object |
|---|---|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/discord-webhook/latest.json |
| Source | https://raw.githubusercontent.com/AxoCode/json-schema/master/discord/webhook.json |
Validate with Lintel
npx @lintel/lintel check
Type:
object
Discord Webhook JSON Schema
Properties
$schema
string
content
string
username
string
avatar_url
string
pattern=^https?://
tts
boolean
embeds
object[]
Embedded rich content Max is 6000 characters
allowed_mentions
object
Allowed mentions for the message
3 nested properties
parse
string[]
An array of allowed mention types to parse from the content.
[]
roles
array | null
Array of role_ids to mention Max is 100 of role_ids Mutually exclusive with parse roles
[]
maxItems=100uniqueItems=true
users
array | null
Array of user_ids to mention Max is 100 of user_ids Mutually exclusive with parse users
[]
maxItems=100uniqueItems=true
Any of
1.
variant
2.
variant
Definitions
string
string
boolean
boolean
url
string
id
string