WIP: Refactor Aurora (3.0.0) #29
1 changed files with 1 additions and 1 deletions
|
@ -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."""
|
||||||
|
|
Loading…
Reference in a new issue