How do I configure a Discord bot for Spidermon?

What are bots?

A bot is a type of Discord user designed to interact with users via conversation.

To work with Discord Actions, you will need a Discord webhook which would send notifications to Discord from Spidermon.

Steps

  1. Create a Discord webhook <https://discord.com/developers/docs/resources/webhook>`_.

  2. Once your webhook is created, you will receive its URL. This is what we use for SPIDERMON_DISCORD_WEBHOOK_URL.

  3. Add your Discord bot credential to your Scrapy project’s settings. That’s it.

# settings.py
SPIDERMON_DISCORD_WEBHOOK_URL = "DISCORD_WEBHOOK_URL"