refactor: rework moonraker telegram bot functions

Signed-off-by: Dominik Willner th33xitus@gmail.com
This commit is contained in:
th33xitus
2022-04-17 19:44:02 +02:00
parent e968ed1d6d
commit 6463f5007d
4 changed files with 45 additions and 46 deletions

View File

@@ -33,7 +33,7 @@ update_ui(){
echo -e "| | | | "
echo -e "| Other: |---------------|--------------| "
echo -e "| 6) [PrettyGCode] |$(compare_prettygcode_versions)| "
echo -e "| 7) [Telegram Bot] |$(compare_prettygcode_versions)| "
echo -e "| 7) [Telegram Bot] |$(compare_telegram_bot_versions)| "
echo -e "| |------------------------------| "
echo -e "| 8) [System] | $DISPLAY_SYS_UPDATE | "
back_footer
@@ -60,7 +60,7 @@ update_menu(){
6)
do_action "update_pgc_for_klipper" "update_ui";;
7)
do_action "update_MoonrakerTelegramBot" "update_ui";;
do_action "update_telegram_bot" "update_ui";;
8)
do_action "update_system" "update_ui";;
a)