This action allows you to send custom messages to a Discord channel using a bot when your monitor suites finish their execution.
To use this action you need to provide the Discord webhook URL in your
settings.py file as follows:
SPIDERMON_DISCORD_WEBHOOK_URL = "<DISCORD_WEBHOOK_URL>"
A notification will look like the following:
Follow these steps to configure your Discord bot.
The following settings are the minimum needed to make this action work:
Webhook URL of your bot.
Be careful when using bot webhooks URL in Spidermon. Do not publish them in public code repositories.
Other settings available:
If set True, the Discord message content will be in the logs but nothing will be sent.
The message to be sent, it supports Jinja2 template formatting.
Path to a Jinja2 template file to format messages sent by the Discord Action.