From 5da836acc39931a16ea5c03ac45073267b31b1fe Mon Sep 17 00:00:00 2001 From: iwatkot Date: Mon, 4 Nov 2024 20:36:42 +0100 Subject: [PATCH] Menu update. --- .github/workflows/build_bot.yml | 2 +- bot/bot.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_bot.yml b/.github/workflows/build_bot.yml index 8126af8..0b8e810 100644 --- a/.github/workflows/build_bot.yml +++ b/.github/workflows/build_bot.yml @@ -27,4 +27,4 @@ jobs: file: ./docker/Dockerfile_bot build-args: | BOT_TOKEN=${{ secrets.BOT_TOKEN }} - ADMIN_ID=${{ secrets.ADMIN_ID }} \ No newline at end of file + TELEGRAM_ADMIN_ID=${{ secrets.TELEGRAM_ADMIN_ID }} \ No newline at end of file diff --git a/bot/bot.py b/bot/bot.py index ae9ed67..986d992 100644 --- a/bot/bot.py +++ b/bot/bot.py @@ -48,7 +48,7 @@ if os.path.exists(env_path): load_dotenv(env_path) token = os.getenv("BOT_TOKEN") -admin_id = os.getenv("ADMIN_ID") +admin_id = os.getenv("TELEGRAM_ADMIN_ID") if admin_id: admin_id = int(admin_id) logger.info("Admin ID: %s", admin_id)