Update botinfo to work with new getCreationDate Update userinfo to work with new getCreationDate Update userinfo to work with new getJoinDate
4 lines
No EOL
222 B
JavaScript
4 lines
No EOL
222 B
JavaScript
module.exports = function(user){
|
|
let date = user.createdAt;
|
|
return date.getUTCFullYear().toString()+"-"+date.getUTCMonth()+"-"+date.getUTCDate()+" "+date.getUTCHours()+":"+date.getUTCMinutes()+":"+date.getUTCSeconds();
|
|
} |