Fixed 11Pm being 10pm

This commit is contained in:
Jacob Henry 2018-11-08 20:12:34 -05:00
parent ee222868a7
commit 5ecd3ab8b8
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ class ItsTenPM(slack_util.Passive):
async def run(self, slack: SlackClient) -> None:
while True:
# Get 10PM
ten_pm = datetime.now().replace(hour=21, minute=0, second=0)
ten_pm = datetime.now().replace(hour=20, minute=0, second=0)
# Find out how long until it, then sleep that long
delay = seconds_until(ten_pm)