Skip to content

Commit a668d73

Browse files
authored
Quick update
Had a random thought - it might help if someone's looking for a team to specify their location as well in the initial search, in case there's 2 or more teams with similar names in the same area.
1 parent 81a1cbc commit a668d73

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dozer/cogs/ftc.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,9 @@ async def searchteam(self, ctx: DozerContext, team_name: str):
314314

315315
e = discord.Embed(color=embed_color, title=f"FTC Team Search: {team_name}")
316316
for team in team_data:
317-
e.add_field(name = f"Team {team['number']}", value = team['name'], inline = False)
318-
317+
e.add_field(name = f"Team {team['number']} - **{team['name']}**",
318+
value = f"{team['city']}, {(team['state'] + ', ') if not team['state'].isdigit() else ''}{team['country']}",
319+
inline = False)
319320
e.set_footer(text = "Team information from FTCScout")
320321

321322
view = discord.ui.View()

0 commit comments

Comments
 (0)