ClouDev/CloudBot — pull request #119 by blha303 (2013-08-24 08:51:09+00:00)
Title: Fix duration, add new function for timestamp formatting

Now plugins can use

from util import hook, timeformat

@hook.command
def formattime(inp):
return timeformat.timeformat(int(inp))

which will return `1:40`.