Skip to content

Commit

Permalink
Whoops.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gawdl3y committed Aug 1, 2016
1 parent 078a444 commit 1254b39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/general/about.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default {
const owner = message.client.users.get('id', config.owner);
const servers = message.client.servers.length.toLocaleString(), users = message.client.users.length.toLocaleString();
const serversLabel = servers != 1 ? 'servers' : 'server', usersLabel = users != 1 ? 'users' : 'user';
const uptime = 7893209;
const uptime = process.uptime();
const days = Math.floor(uptime / 60 / 60 / 24), hours = Math.floor(uptime / 60 / 60 % 24), minutes = Math.floor(uptime / 60 % 60);
const daysLabel = days != 1 ? 'days' : 'day', hoursLabel = hours != 1 ? 'hours' : 'hour', minutesLabel = minutes != 1 ? 'minutes' : 'minute';
const daysStr = `${days.toLocaleString()} ${daysLabel}`, hoursStr = `${hours.toLocaleString()} ${hoursLabel}`, minutesStr = `${minutes.toLocaleString()} ${minutesLabel}`;
Expand Down

0 comments on commit 1254b39

Please sign in to comment.