Metadata-Version: 2.1
Name: tracardi-discord-webhook
Version: 0.6.0
Summary: This plugin sends discord messages.
Home-page: UNKNOWN
Author: Risto Kowaczewski
Author-email: risto.kowaczewski@gmail.com
License: UNKNOWN
Keywords: tracardi,plugin
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE.md
Requires-Dist: tracardi-plugin-sdk (>=0.6.22)
Requires-Dist: pydantic
Requires-Dist: asyncio
Requires-Dist: aiohttp

# Discord webhook plugin

This plugin sends discord messages.

# Configuration

Configuration needs a discord webhook url. Webhooks can be created in discord application. Click settings in the channel 
that you would like to send message to.  Then click integrations and webhooks.  Expand webhook list and click 
new webhook. Give it a name and copy url. This url should be copied to URL in the configuration JSON.

```json
{
  "url": "https://discord.com/api/webhooks/879132030/kXYSPpId...",
  "timeout": 10,
  "message": "Hello {{profile@traits.private.name}}",
  "username": "<username>"
}
```

# Input

This plugin does not process input payload. 

# Output

This plugin returns either the input payload on response port or and error on error port.



