mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-18 07:35:02 +00:00
Add !about command
This commit is contained in:
parent
66e1cdee4b
commit
badb645703
5 changed files with 112 additions and 3 deletions
9
src/uptime.ts
Normal file
9
src/uptime.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
let start = 0;
|
||||
|
||||
export function startUptimeCounter() {
|
||||
start = Date.now();
|
||||
}
|
||||
|
||||
export function getCurrentUptime() {
|
||||
return Date.now() - start;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue