mirror of https://github.com/caronc/apprise
Updated Notify_discord (markdown)
parent
2ba55b6c38
commit
9d6e77a7e8
|
@ -23,7 +23,7 @@ Valid syntaxes are as follows:
|
|||
* **discord**://**{userid}**@**{WebhookID}**/**{WebhookToken}**/
|
||||
|
||||
Discord can also support a variety of website arguments, the below identifies the defaults and therefore do not need to be specified unless you want to override them:
|
||||
* **discord**://**{WebhookID}**/**{WebhookToken}**/**?tts=No&avatar=Yes&footer=No&thumbnail=Yes**
|
||||
* **discord**://**{WebhookID}**/**{WebhookToken}**/**?tts=No&avatar=Yes&footer=No&image=Yes**
|
||||
|
||||
### Parameter Breakdown
|
||||
| Variable | Required | Description
|
||||
|
@ -33,7 +33,7 @@ Discord can also support a variety of website arguments, the below identifies th
|
|||
| userid | No | Identify the name of the bot that should issue the message. If one isn't specified then the default is to just use your account (associated with the *incoming-webhook*).
|
||||
| tts | No | Enable Text-To-Speech (by default is is set to **No**)
|
||||
| footer | No | Include a message footer (by default is is set to **No**)
|
||||
| thumbnail | 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**)
|
||||
| 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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue