Files
xiao/commands/util/uptime.js
T
Daniel Odendahl Jr c12b736590 Use direct unicode
2017-09-08 01:28:33 +00:00

19 lines
450 B
JavaScript

const Command = require('../../structures/Command');
const { duration } = require('../../structures/Util');
module.exports = class UptimeCommand extends Command {
constructor(client) {
super(client, {
name: 'uptime',
group: 'util',
memberName: 'uptime',
description: 'Responds with how long the bot has been active on this Shard.',
guarded: true
});
}
run(msg) {
return msg.say(duration(this.client.uptime).format());
}
};