Set dem_week to 1 in the draft

This commit is contained in:
Cal Corum 2024-12-19 08:37:55 -06:00
parent 4945fb4680
commit f8716c69cb

View File

@ -403,7 +403,7 @@ class Draft(commands.Cog):
await patch_draftpick(draft_pick) # TODO: uncomment for live draft
player['team'] = draft_pick['owner']
player['demotion_week'] = 2
player['demotion_week'] = 1
# await patch_player(player['id'], team_id=draft_pick['owner']['id'], demotion_week=2)
await put_player(player) # TODO: uncomment for live draft
@ -1215,7 +1215,7 @@ class Draft(commands.Cog):
logger.info(f'{x["name"]} is a keeper')
draft_pick = sorted_picks[keeper_count - 1]
this_player['demotion_week'] = 2
this_player['demotion_week'] = 1
draft_pick['player'] = this_player
logger.info(f'Setting {x["name"]} as {this_team["abbrev"]}\'s #{keeper_count} keeper with overall '