-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a82b10b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the app on Heroku update everytime you push a change to master? The app posted the init message in the groupme on its own.
a82b10b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a82b10b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you manually changing the week, every week? Can we write code that would automatically determine the week given the date? Something like:
import datetime
import math
season_start = datetime.datetime(2017,9,6)
current_time = datetime.datetime.now()
date_diff = current_time-season_start
week = int(math.ceil(date_diff/7.0))
a82b10b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a pull request in the ESPN FF API repo that will default to the latest week (see here #1) but this may be a good stop gap so I (and others that have deployed) don't need to manually update it each week.
a82b10b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it makes sense to have the week calculated or just fork their API. I think I have backstroke.us to keep your code in sync my fork of ff_bot. I then have that fork linked with Heroku so it should auto-deploy.
It looks like the cawdev/ff_bot fork is making a lot of progress with some features and functionality.