Set dem_week to 1 in the draft
This commit is contained in:
parent
4945fb4680
commit
f8716c69cb
@ -403,7 +403,7 @@ class Draft(commands.Cog):
|
|||||||
await patch_draftpick(draft_pick) # TODO: uncomment for live draft
|
await patch_draftpick(draft_pick) # TODO: uncomment for live draft
|
||||||
|
|
||||||
player['team'] = draft_pick['owner']
|
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 patch_player(player['id'], team_id=draft_pick['owner']['id'], demotion_week=2)
|
||||||
await put_player(player) # TODO: uncomment for live draft
|
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')
|
logger.info(f'{x["name"]} is a keeper')
|
||||||
|
|
||||||
draft_pick = sorted_picks[keeper_count - 1]
|
draft_pick = sorted_picks[keeper_count - 1]
|
||||||
this_player['demotion_week'] = 2
|
this_player['demotion_week'] = 1
|
||||||
draft_pick['player'] = this_player
|
draft_pick['player'] = this_player
|
||||||
|
|
||||||
logger.info(f'Setting {x["name"]} as {this_team["abbrev"]}\'s #{keeper_count} keeper with overall '
|
logger.info(f'Setting {x["name"]} as {this_team["abbrev"]}\'s #{keeper_count} keeper with overall '
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user