mirror of
https://github.com/caronc/apprise.git
synced 2025-06-24 19:51:21 +02:00
Updated Notify_discord (markdown)
parent
2f426d63c0
commit
bcd2f078e4
@ -13,12 +13,15 @@ The webhook will end up looking something like this:
|
|||||||
This effectively equates to:
|
This effectively equates to:
|
||||||
```https://discordapp.com/api/webhooks/{WebhookID}/{WebhookToken}```
|
```https://discordapp.com/api/webhooks/{WebhookID}/{WebhookToken}```
|
||||||
|
|
||||||
|
**Note:** Apprise supports this URL _as-is_ (_as of v0.7.7_); you no longer need to parse the URL any further. However there is slightly less overhead (internally) if you do.
|
||||||
|
|
||||||
The last part of the URL you're given make up the 2 tokens you need to send notifications with. It's very important to pay attention. In the above example the tokens are as follows:
|
The last part of the URL you're given make up the 2 tokens you need to send notifications with. It's very important to pay attention. In the above example the tokens are as follows:
|
||||||
1. **WebhookID** is ```4174216298```
|
1. **WebhookID** is ```4174216298```
|
||||||
2. **WebhookToken** is ```JHMHI8qBe7bk2ZwO5U711o3dV_js```
|
2. **WebhookToken** is ```JHMHI8qBe7bk2ZwO5U711o3dV_js```
|
||||||
|
|
||||||
### Syntax
|
### Syntax
|
||||||
Valid syntaxes are as follows:
|
Valid syntaxes are as follows:
|
||||||
|
* ```https://discordapp.com/api/webhooks/{WebhookID}/{WebhookToken}```
|
||||||
* **discord**://**{WebhookID}**/**{WebhookToken}**/
|
* **discord**://**{WebhookID}**/**{WebhookToken}**/
|
||||||
* **discord**://**{userid}**@**{WebhookID}**/**{WebhookToken}**/
|
* **discord**://**{userid}**@**{WebhookID}**/**{WebhookToken}**/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user