forked from Galactic/galactic-bot
util
This commit is contained in:
parent
45ebb8ebd0
commit
40df108f53
@ -1,3 +1,4 @@
|
||||
const moment = require('moment');
|
||||
const path = require('path');
|
||||
const fs = require('fs');
|
||||
const fetch = require('node-fetch');
|
||||
@ -127,6 +128,10 @@ class Util {
|
||||
return `${word}s`;
|
||||
}
|
||||
|
||||
static get date() {
|
||||
return moment().format("YYYY-MM-DD hh:mm:ss");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
module.exports = Util;
|
Loading…
Reference in New Issue
Block a user