2020-07-01 08:59:42 +00:00
|
|
|
const Command = require('../../Structures/Command.js');
|
|
|
|
const ms = require('ms');
|
2020-06-01 12:45:00 +00:00
|
|
|
|
|
|
|
module.exports = class extends Command {
|
|
|
|
|
2020-07-01 13:35:37 +00:00
|
|
|
constructor(...args) {
|
2020-07-08 10:04:19 +00:00
|
|
|
super(...args, {
|
2020-07-01 13:35:37 +00:00
|
|
|
aliases: ['uptime'],
|
|
|
|
category: 'Utilities'
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
2020-07-01 08:59:42 +00:00
|
|
|
async run(message) {
|
|
|
|
message.channel.send(`My uptime is \`${ms(this.client.uptime, { long: true })}\``);
|
|
|
|
}
|
2020-06-01 12:45:00 +00:00
|
|
|
|
2020-07-01 08:59:42 +00:00
|
|
|
};
|