diff --git a/the_draft.py b/the_draft.py index 4b424d3..aec71c4 100644 --- a/the_draft.py +++ b/the_draft.py @@ -45,6 +45,10 @@ class Draft: """ return self._active_participant.handle + @property + def active_drafting_team(self): + return self._active_participant.team.name + def add_participant(self, handle, team_name, slogan): """ A participant is someone participating in this draft. Initializes an empty team for them @@ -106,7 +110,7 @@ class Draft: if self._round < DRAFT_ROUNDS: self._active_participant.team.add_lineup(games.player(json.dumps(player))) elif self._round == DRAFT_ROUNDS: - self._active_participant.team.set_pitcher(games.player(json.dumps(player))) + self._active_participant.team.add_pitcher(games.player(json.dumps(player))) self.advance_draft() if self._active_participant == BOOKMARK: diff --git a/the_prestige.py b/the_prestige.py index 5f0e424..9635345 100644 --- a/the_prestige.py +++ b/the_prestige.py @@ -636,9 +636,9 @@ top of the list with each mention, teamname, and slogan on a new line (shift+ent draft.start_draft() while draft.round <= DRAFT_ROUNDS: - choosing = 'pitcher' if draft.round == DRAFT_ROUNDS else 'hitter' + choosing = '⚾️pitcher⚾️' if draft.round == DRAFT_ROUNDS else '🏏hitter🏏' await msg.channel.send( - f'Round {draft.round}/{DRAFT_ROUNDS}: {draft.active_drafter}, choose a {choosing}.', + f'Round {draft.round}/{DRAFT_ROUNDS}: {draft.active_drafter}, choose a {choosing} for {draft.active_drafting_team}.', embed=build_draft_embed(draft.get_draftees()), ) try: