From 7d917f77b85a4bbeed0f4383bb50a8b06556ed84 Mon Sep 17 00:00:00 2001 From: Andrew Stowell Date: Thu, 17 Mar 2022 12:49:51 +0000 Subject: [PATCH] new "restake" discord category. --- config.example.sh | 2 ++ discord-if-distinct.sh | 4 ++++ discord.sh | 6 +++--- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/config.example.sh b/config.example.sh index ce8a930..b9f7810 100644 --- a/config.example.sh +++ b/config.example.sh @@ -27,6 +27,8 @@ DISCORD_SERVER_NAME="" DISCORD_GENERAL_HOOK="" +DISCORD_RESTAKE_HOOK="" + DISCORD_THERMAL_HOOK="" DISCORD_STORAGE_HOOK="" diff --git a/discord-if-distinct.sh b/discord-if-distinct.sh index 73524a4..122d294 100755 --- a/discord-if-distinct.sh +++ b/discord-if-distinct.sh @@ -11,6 +11,10 @@ HOOK="general" HOOK_URL=$DISCORD_GENERAL_HOOK case $HOOK_ARG in + restake) + HOOK="restake" + HOOK_URL=$DISCORD_RESTAKE_HOOK + ;; thermal) HOOK="thermal" HOOK_URL=$DISCORD_THERMAL_HOOK diff --git a/discord.sh b/discord.sh index 4aa1836..9a474a5 100755 --- a/discord.sh +++ b/discord.sh @@ -10,9 +10,9 @@ HOOK="general" HOOK_URL=$DISCORD_GENERAL_HOOK case $HOOK_ARG in - live) - HOOK="thermal" - HOOK_URL=$DISCORD_THERMAL_HOOK + restake) + HOOK="restake" + HOOK_URL=$DISCORD_RESTAKE_HOOK ;; thermal) HOOK="thermal"