MCPcopy Create free account
hub / github.com/TechifyBots/Rename-Bot / convert

Function convert

helper/utils.py:60–66  ·  view source on GitHub ↗
(seconds)

Source from the content-addressed store, hash-verified

58 return tmp[:-2]
59
60def convert(seconds):
61 seconds = seconds % (24 * 3600)
62 hour = seconds // 3600
63 seconds %= 3600
64 minutes = seconds // 60
65 seconds %= 60
66 return "%d:%02d:%02d" % (hour, minutes, seconds)
67
68async def send_log(b, u):
69 if Config.LOG_CHANNEL:

Callers 1

upload_docFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected