forked from blizzthewolf/SeaCogs
misc(aurora): typehinting
This commit is contained in:
parent
e1cc6ca1a8
commit
7d2fd89261
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ async def send_evidenceformat(interaction: Interaction, case_dict: dict):
|
||||||
)
|
)
|
||||||
await interaction.followup.send(content=content, ephemeral=True)
|
await interaction.followup.send(content=content, ephemeral=True)
|
||||||
|
|
||||||
def convert_timedelta_to_str(timedelta: td):
|
def convert_timedelta_to_str(timedelta: td) -> str:
|
||||||
"""This function converts a timedelta object to a string."""
|
"""This function converts a timedelta object to a string."""
|
||||||
total_seconds = int(timedelta.total_seconds())
|
total_seconds = int(timedelta.total_seconds())
|
||||||
hours = total_seconds // 3600
|
hours = total_seconds // 3600
|
||||||
|
|
Loading…
Reference in a new issue