A lightweight Docker container that forwards Discord messages to a custom webhook URL.
DISCORD_TOKEN: Your bot's Discord tokenWEBHOOK_URL: The URL of your target webhook endpoint{
"channelType": "Server Channel",
"from": "user#1234",
"chatId": 1234567890,
"userId": 987654321,
"message": "Hello, world!",
"messageId": "111111111111111111"
}
docker run -d \
--name discord-bot-n8n-webhook \
--restart unless-stopped \
-e DISCORD_TOKEN=${DISCORD_TOKEN} \
-e WEBHOOK_URL=${WEBHOOK_URL} \
zyfax/discord-bot-n8n-webhook
services:
discord-bot-n8n-webhook:
image: zyfax/discord-bot-n8n-webhook
container_name: discord-bot-n8n-webhook
restart: unless-stopped
environment:
- DISCORD_TOKEN=${DISCORD_TOKEN}
- WEBHOOK_URL=${WEBHOOK_URL}
Content type
Image
Digest
sha256:6f331097c…
Size
51 MB
Last updated
about 1 year ago
docker pull zyfax/discord-bot-n8n-webhook