From 7e389fbcc0eaa40befa2ae6d86b139e1c011c0a4 Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Wed, 29 Jul 2020 13:48:03 -0400 Subject: [PATCH] Updated Notify_discord (markdown) --- Notify_discord.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Notify_discord.md b/Notify_discord.md index ff962bd..e68d405 100644 --- a/Notify_discord.md +++ b/Notify_discord.md @@ -16,7 +16,7 @@ This effectively equates to: **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. With respect to the above example the tokens are as follows: 1. **WebhookID** is ```4174216298``` 2. **WebhookToken** is ```JHMHI8qBe7bk2ZwO5U711o3dV_js``` @@ -47,10 +47,12 @@ Send a discord notification: ```bash # Assuming our {WebhookID} is 4174216298 # Assuming our {WebhookToken} is JHMHI8qBe7bk2ZwO5U711o3dV_js -apprise discord://4174216298/JHMHI8qBe7bk2ZwO5U711o3dV_js +apprise -t "Test Message Title" -b "Test Message Body" \ + discord://4174216298/JHMHI8qBe7bk2ZwO5U711o3dV_js ``` If you want to have your own custom avatar URL you're already hosting from another website, you could set the following: ```bash -apprise discord://4174216298/JHMHI8qBe7bk2ZwO5U711o3dV_js?avatar_url=https://i.imgur.com/FsEpmwg.jpeg +apprise -t "Test Message Title" -b "Test Message Body" \ + discord://4174216298/JHMHI8qBe7bk2ZwO5U711o3dV_js?avatar_url=https://i.imgur.com/FsEpmwg.jpeg ```