From 7df34bd7edfef3257113c6dfb6bfff3189169698 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Sun, 24 Aug 2025 14:48:42 -0600 Subject: [PATCH] 1756068522 --- customscripts/webhook | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/customscripts/webhook b/customscripts/webhook index b5f1d45..c74d62e 100644 --- a/customscripts/webhook +++ b/customscripts/webhook @@ -8,12 +8,11 @@ discord_webhook=$(cat /usr/share/customscripts/webhook.txt) ipaddr=$(hostname -I | grep -E -o "10.0.0.[0-9]{1,3}" | tr '\n' ' ') +hostname=$(hostname) date=$(date "+%d/%m/%Y %H:%M:%S %Z (%s)") # to tag role run \@rolename and copy the code that is like <@something> -# tag="<@tag>" tag=$(cat /usr/share/customscripts/tag.txt) -hostname=$(hostname) -bootup_string="bootrred on $date\n\tip addrs: $ipaddr\n\t$tag\n\n" +bootup_string="bootrred $hostname on $date\n\tip addrs: $ipaddr\n\t$tag\n\n" if [[ -z $1 ]]; then content='Default Ping!' @@ -37,4 +36,5 @@ cat <