Skip to content

Commit 38155c1

Browse files
authored
Merge pull request #496 from tweirtx/master
Update URL base for frcavatars microservice
2 parents 9423afb + 3945087 commit 38155c1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

dozer/cogs/tba.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ async def team(self, ctx: DozerContext, team_num: int):
6767
e = discord.Embed(color=self.col,
6868
title=f'FIRST® Robotics Competition Team {team_num}',
6969
url=f'https://www.thebluealliance.com/team/{team_num}')
70-
e.set_thumbnail(url=f'https://frcavatars.herokuapp.com/get_image?team={team_num}')
70+
e.set_thumbnail(url=f'https://dozer.tweirtx.me/avatars/get_image?team={team_num}')
7171
e.add_field(name='Name', value=team_data.nickname)
7272
e.add_field(name='Rookie Year', value=team_data.rookie_year)
7373
e.add_field(name='Location',
@@ -212,7 +212,7 @@ async def raw(self, ctx: DozerContext, team_num: int):
212212
e = discord.Embed(color=self.col)
213213
e.set_author(name=f'FIRST® Robotics Competition Team {team_num}',
214214
url=f'https://www.thebluealliance.com/team/{team_num}',
215-
icon_url=f'https://frcavatars.herokuapp.com/get_image?team={team_num}')
215+
icon_url=f'https://dozer.tweirtx.me/avatars/get_image?team={team_num}')
216216
e.add_field(name='Raw Data', value=f"```py\n {pformat(team_data.__dict__)}```")
217217
e.set_footer(text=f'Triggered by {ctx.author.display_name}')
218218
await ctx.send(embed=e)

0 commit comments

Comments
 (0)