18 lines
342 B
JavaScript
18 lines
342 B
JavaScript
const Command = require('../../Structures/Command.js');
|
|
const ms = require('ms');
|
|
|
|
module.exports = class extends Command {
|
|
|
|
constructor(...args) {
|
|
super(...args, {
|
|
aliases: ['uptime'],
|
|
category: 'Utilities'
|
|
});
|
|
}
|
|
|
|
async run(message) {
|
|
message.channel.send(`My uptime is \`${ms(this.client.uptime, { long: true })}\``);
|
|
}
|
|
|
|
};
|