aboutsummaryrefslogtreecommitdiffstats
path: root/SCHEMA.md
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2020-12-17 12:48:04 +0300
committerGravatar Hassan Abouelela <[email protected]>2020-12-17 12:48:04 +0300
commitbbbfa152ba14f37d0cd5686ed4cdcfc7cd83514e (patch)
tree3a14ee0b1e6b997e18d8f370440466a47d2ec6e7 /SCHEMA.md
parentMakes 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.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/SCHEMA.md b/SCHEMA.md
index 4daa5dd..b55635f 100644
--- a/SCHEMA.md
+++ b/SCHEMA.md
@@ -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