WIP: Refactor Aurora (3.0.0) #29

Draft
cswimr wants to merge 347 commits from aurora-pydantic into main
Showing only changes of commit 166421b6ba - Show all commits

View file

@ -198,7 +198,7 @@ def timedelta_to_string(timedelta: timedelta) -> str:
"""Converts a timedelta object to a string.""" """Converts a timedelta object to a string."""
hours, remainder = divmod(timedelta.seconds, 3600) hours, remainder = divmod(timedelta.seconds, 3600)
minutes, seconds = divmod(remainder, 60) minutes, seconds = divmod(remainder, 60)
return f"{hours}:{minutes}:{seconds}s" return f"{hours}:{minutes}:{seconds}"
def get_footer_image(coginstance: commands.Cog) -> File: def get_footer_image(coginstance: commands.Cog) -> File:
"""Returns the footer image for the embeds.""" """Returns the footer image for the embeds."""