Updated Notify_discord (markdown)

master
Chris Caron 2020-06-13 11:13:28 -04:00
parent 830f06e3f9
commit b56116fe08
1 changed files with 6 additions and 0 deletions

@ -39,6 +39,7 @@ Discord can also support a variety of website arguments, the below identifies th
| footer | No | Include a message footer (by default is is set to **No**) | footer | No | Include a message footer (by default is is set to **No**)
| image | No | Include an image in-line with the message describing the notification type (by default is is set to **Yes**) | image | No | Include an image in-line with the message describing the notification type (by default is is set to **Yes**)
| avatar | No | Over-ride the default discord avatar icon and replace it with one identify the notification type (by default is is set to **Yes**) | avatar | No | Over-ride the default discord avatar icon and replace it with one identify the notification type (by default is is set to **Yes**)
| avatar_url | No | Over-ride the default discord avatar icon URL. By default this is not set and Apprise chooses the URL dynamically based on the type of message (info, success, warning, or error).
| format | No | The default value of this is _text_. But if you plan on managing the format yourself, you can optionally set this to _markdown_. If the mode is set to markdown, apprise will scan for header entries (usually on lines by themselves surrounded by hashtags (#)) and will place these inside embedded objects. This is done to give a nicer presentation. | format | No | The default value of this is _text_. But if you plan on managing the format yourself, you can optionally set this to _markdown_. If the mode is set to markdown, apprise will scan for header entries (usually on lines by themselves surrounded by hashtags (#)) and will place these inside embedded objects. This is done to give a nicer presentation.
#### Example #### Example
@ -48,3 +49,8 @@ Send a discord notification:
# Assuming our {WebhookToken} is JHMHI8qBe7bk2ZwO5U711o3dV_js # Assuming our {WebhookToken} is JHMHI8qBe7bk2ZwO5U711o3dV_js
apprise discord:///4174216298/JHMHI8qBe7bk2ZwO5U711o3dV_js apprise 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
```