From 6f30973cbd54ee4b3749d95f7d1e9872676c3a17 Mon Sep 17 00:00:00 2001 From: amolinae06 Date: Sat, 3 May 2025 23:56:11 -0600 Subject: [PATCH] send multiple albums in one message --- webhook | 40 +++++++++++++++++----------------------- 1 file changed, 17 insertions(+), 23 deletions(-) diff --git a/webhook b/webhook index ea42f97..7eb0a93 100644 --- a/webhook +++ b/webhook @@ -1,6 +1,4 @@ #!/bin/sh - -# Settings # Discord Webhook URL (e.g. https://discord.com/api/webhooks/WEBHOOK_ID/TOKEN) discord_url="" # Message content (e.g. :newspaper: @everyone A new album has been added!" @@ -10,29 +8,25 @@ embed_color="" # latestalbum path (for cron job, e.g. /home/amolinae/.local/bin/latestalbum) lapath="" -generate_post_data() { - cat <