mirror of https://github.com/caronc/apprise
Updated Notify_discord (markdown)
parent
97ff6b6a43
commit
b747170b5d
|
@ -74,4 +74,17 @@ Send a notification that notifies `@everyone` in the channel:
|
|||
# Assuming our {WebhookToken} is JHMHI8qBe7bk2ZwO5U711o3dV_js
|
||||
apprise -vv -t "Hello All" -b "Test Message that pings @everyone" \
|
||||
"discord://4174216298/JHMHI8qBe7bk2ZwO5U711o3dV_js"
|
||||
```
|
||||
|
||||
Send a notification that leverages the built in `markdown` support of Discord:
|
||||
```bash
|
||||
# Assuming our {WebhookID} is 4174216298
|
||||
# Assuming our {WebhookToken} is JHMHI8qBe7bk2ZwO5U711o3dV_js
|
||||
cat << _EOF | apprise -vv "discord://4174216298/JHMHI8qBe7bk2ZwO5U711o3dV_js?format=markdown"
|
||||
# Title
|
||||
|
||||
- Bullet 1
|
||||
- Bullet 2
|
||||
- Bullet 3
|
||||
_EOF
|
||||
```
|
Loading…
Reference in New Issue