Send messages to a Discord webhook using a Dockerized Python application.
383
DiscordWebhookSender is a Dockerized Python application designed to send messages to a Discord webhook.
Pull the image:
docker pull caiolombello/discord-webhook-sender:latest
Run the container:
For a simple message:
docker run --rm \
-e DISCORD_WEBHOOK_URL="<YOUR_WEBHOOK_URL>" \
-e DISCORD_MESSAGE="<YOUR_MESSAGE>" \
caiolombello/discord-webhook-sender:latest
For a message with embed:
docker run --rm \
-e DISCORD_WEBHOOK_URL="<YOUR_WEBHOOK_URL>" \
-e DISCORD_MESSAGE="<YOUR_MESSAGE>" \
-e DISCORD_EMBED_TITLE="<YOUR_EMBED_TITLE>" \
-e DISCORD_EMBED_DESCRIPTION="<YOUR_EMBED_DESCRIPTION>" \
-e DISCORD_EMBED_COLOR="<YOUR_EMBED_COLOR>" \
caiolombello/discord-webhook-sender:latest
DISCORD_WEBHOOK_URL: The URL of the Discord webhook.DISCORD_MESSAGE: The message to be sent.DISCORD_EMBED_TITLE: The title of the embed (optional).DISCORD_EMBED_DESCRIPTION: The description of the embed (optional).DISCORD_EMBED_COLOR: The color of the embed in hexadecimal format without # (optional).The source code for this project is available on GitHub: GitHub Repository
This project is licensed under the MIT License. See the LICENSE file for details.
Content type
Image
Digest
sha256:f8e022d79…
Size
10.5 MB
Last updated
over 2 years ago
docker pull caiolombello/discord-webhook-sender