Skip to content

Commit

Permalink
Admin ID hardcoded.
Browse files Browse the repository at this point in the history
  • Loading branch information
iwatkot committed Nov 4, 2024
1 parent adc542b commit eb5aa6a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bot/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@
if os.path.exists(env_path):
load_dotenv(env_path)
token = os.getenv("BOT_TOKEN")
admin_id = os.getenv("TELEGRAM_ADMIN_ID")
if admin_id:
admin_id = int(admin_id)
admin_id = 96970002
logger.info("Admin ID: %s", admin_id)
if not token:
raise RuntimeError("No token provided.")
Expand Down

0 comments on commit eb5aa6a

Please sign in to comment.