diff --git a/gauntlets.py b/gauntlets.py index 8c390ac..590a33f 100644 --- a/gauntlets.py +++ b/gauntlets.py @@ -364,6 +364,10 @@ async def run_draft(interaction: discord.Interaction, main_team: Team, this_even embed_description = f'{this_event["name"]}' base_params = [('cardset_id', 24), ('cardset_id', 25), ('cardset_id', 22), ('cardset_id', 23), ('limit', 8)] + elif this_event['id'] == 9: + embed_title = f'{main_team.lname} - {this_event['name']} Draft' + embed_description = f'{this_event["name"]}' + base_params = [('cardset_id', 27), ('cardset_id', 28), ('cardset_id', 29), ('limit', 8)] else: logger.error(f'run_draft - Event ID {this_event["id"]} not recognized') raise KeyError(f'Draft data not found for Gauntlet {this_event["id"]}') @@ -418,7 +422,7 @@ async def run_draft(interaction: discord.Interaction, main_team: Team, this_even } if this_event['id'] in [1, 2]: max_counts['MVP'] = 2 - elif this_event['id'] in [5, 6, 8]: + elif this_event['id'] in [5, 6, 8, 9]: g_query = await db_get( 'games', params=[('season', draft_team.season), ('team1_id', draft_team.id), ('gauntlet_id', this_event['id'])] @@ -1548,7 +1552,7 @@ async def run_draft(interaction: discord.Interaction, main_team: Team, this_even # Update roster embed round_num += 1 await last_message.edit(content=None, embeds=get_embeds(include_links=False)) - elif this_event['id'] in [5, 6, 8]: + elif this_event['id'] in [5, 6, 8, 9]: await draft_loop() elif this_event['id'] == 7: round_num = 1