Skip to content

Commit

Permalink
Menu update.
Browse files Browse the repository at this point in the history
  • Loading branch information
iwatkot committed Nov 4, 2024
1 parent 9268e33 commit 5da836a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ jobs:
file: ./docker/Dockerfile_bot
build-args: |
BOT_TOKEN=${{ secrets.BOT_TOKEN }}
ADMIN_ID=${{ secrets.ADMIN_ID }}
TELEGRAM_ADMIN_ID=${{ secrets.TELEGRAM_ADMIN_ID }}
2 changes: 1 addition & 1 deletion bot/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5da836a

Please sign in to comment.