Skip to content

Commit

Permalink
added scheduling
Browse files Browse the repository at this point in the history
  • Loading branch information
SwapnikKatkoori committed Jul 14, 2019
1 parent 9accb06 commit c6237e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sleeper_ff_bot/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def get_current_week():
webhook = os.environ["DISCORD_WEBHOOK"]
bot = Discord(webhook)

schedule.every().sunday.at("00:37").do(bot.send, get_close_games, league_id, 30)
schedule.every().hour.at(":57").do(bot.send, get_close_games, league_id, 30)
schedule.every().sunday.at("19:00").do(bot.send, get_close_games, league_id, 30) # Close games on 7:00
schedule.every().monday.at("08:00").do(bot.send, get_scores, league_id) # Miracle Monday at 12:00 pm on Monday
schedule.every().tuesday.at("06:30").do(bot.send, get_standings, league_id) # Standings at 6:30 am on Tuesday
Expand Down

0 comments on commit c6237e0

Please sign in to comment.