diff options
author | 2020-12-17 12:48:04 +0300 | |
---|---|---|
committer | 2020-12-17 12:48:04 +0300 | |
commit | bbbfa152ba14f37d0cd5686ed4cdcfc7cd83514e (patch) | |
tree | 3a14ee0b1e6b997e18d8f370440466a47d2ec6e7 /SCHEMA.md | |
parent | Makes Webhooks Optional (diff) |
Adds Webhook Sending Functionality
Builds and sends a discord webhook on form submission.
Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'SCHEMA.md')
-rw-r--r-- | SCHEMA.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -33,9 +33,9 @@ In this document: | `WEBHOOK_ENABLED` | The form should notify the webhook. Has no effect if no webhook is set. | ### Meta options -| Field | Description | Example | -| --------- | ----------------------------------- | ------------------------------------------------------------------------------------------ | -| `webhook` | Mapping of webhook url and message. | `"webhook": {"url": "https://discord.com/api/webhooks/id/key", "message": "Hello World!"}` | +| Field | Description | Example | +| --------- | ---------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | +| `webhook` | Mapping of webhook url and message. Message can use `_USER_MENTION_` to mention the submitting user. | `"webhook": {"url": "https://discord.com/api/webhooks/id/key", "message": "Hello World! _USER_MENTION_"}` | ### Form question |