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"