From 858103a191e8573c65e918ab0f066a657ed214c5 Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Sat, 7 Jan 2023 17:39:28 +0530 Subject: [PATCH] Add timestamp to sent message --- build_revanced.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_revanced.sh b/build_revanced.sh index 3f3f465..86a096b 100755 --- a/build_revanced.sh +++ b/build_revanced.sh @@ -213,7 +213,7 @@ msg=$(cat versions.json | tail -n+2 | head -n-1 | cut -c3- | sed "s/\"//g" | sed | sed "s/com.google.android.youtube/YouTube/" | sed "s/VancedMicroG/Vanced microG/" | sed "s/revanced-/ReVanced /g" | sed "s/patches/Patches/" \ | sed "s/cli/CLI/" | sed "s/integrations/Integrations/" | awk 1 ORS=$'\n') # I know, it's a hacky solution # [ $sent ] && -./telegram.sh -T "⚙⚙⚙ Build Details ⚙⚙⚙" -M "$msg"$'\n'"⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" +./telegram.sh -T "⚙⚙⚙ Build Details ⚙⚙⚙" -M "$msg"$'\n'"Timestamp: $timestamp"$'\n'"⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯" [ $microg_updated ] && ./telegram.sh -M "_An update of microg was published. Please download it from the link in the pinned message._" # Do some cleanup, keep only the last 3 build's worth of files and a week worth of logs