discord.py: Add new module for discord notifications (#2398) (#2493)

* first push: add discord module and test for notifications

* fix the yaml docs and edit the result output

* add link

* fix link

* fix docs and remove required=False in argument spec

* add elements specd and more info about embeds

* called str...

* elements for embeds oc.

* fix typo's in description and set checkmode to false

* edit docs and module return

* support checkmode with get method

* fix unit test

* handle exception and add new example for embeds

* quote line

* fix typos

* fix yaml

(cherry picked from commit 0912e8cc7a)

Co-authored-by: CWollinger <CWollinger@web.de>
This commit is contained in:
patchback[bot] 2021-05-11 20:05:59 +02:00 committed by GitHub
parent 4cb6f39a80
commit 4032dd6b08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 319 additions and 0 deletions

1
plugins/modules/discord.py Symbolic link
View file

@ -0,0 +1 @@
./notification/discord.py