Skip to content

Commit

Permalink
feature: change footer
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroquinc committed Nov 10, 2024
1 parent 87f6677 commit 611daf9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion services/achievement.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def format_date(self, date: str) -> str:
str
The formatted date.
"""
return datetime.strptime(date, "%Y-%m-%d %H:%M:%S").replace(tzinfo=pytz.UTC).astimezone(pytz.timezone('Europe/Amsterdam')).strftime("%d/%m/%y at %H:%M:%S")
return datetime.strptime(date, "%Y-%m-%d %H:%M:%S").replace(tzinfo=pytz.UTC).astimezone(pytz.timezone('Europe/Amsterdam')).strftime("%d/%m/%y %H:%M:%S")

def remap_console_name(self) -> str:
"""
Expand Down
2 changes: 1 addition & 1 deletion src/achievements.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def create_achievement_embed(game, user, achievement, profile, current, total):
embed.add_field(name="Completion", value=f"{completion}/{game.total_achievements} (**{percentage:.2f}%**)", inline=True)
embed.set_image(url=DISCORD_IMAGE)
embed.set_thumbnail(url=achievement.badge_url)
embed.set_footer(text=f"{user}Unlocked on {achievement.date_amsterdam}", icon_url=profile.profile.user_pic_unique)
embed.set_footer(text=f"{user}{achievement.date_amsterdam}", icon_url=profile.profile.user_pic_unique)
embed.set_author(name=f"{achievement.mode} Achievement Unlocked", icon_url=achievement.game_icon)
return embed

Expand Down

0 comments on commit 611daf9

Please sign in to comment.