Skip to content

Commit

Permalink
modified football/bot-football.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Asker Kakhramanov committed Feb 25, 2024
1 parent 61d0c04 commit eec12ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions football/bot-football.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import time as t
import os
from ics import Calendar, Event
from prometheus_client import start_http_server, Counter, Gauge

TOKEN = os.environ.get('football_TOKEN')
CHAT_ID = os.environ.get('football_CHAT_ID')
Expand Down Expand Up @@ -96,5 +97,6 @@ def job():
exit(0)

while True:
start_http_server(62865)
schedule.run_pending()
t.sleep(1)

0 comments on commit eec12ca

Please sign in to comment.