TravBot-v3/src/Commands/Utilities/Uptime.js

18 lines
342 B
JavaScript
Raw Normal View History

2020-07-01 08:59:42 +00:00
const Command = require('../../Structures/Command.js');
const ms = require('ms');
module.exports = class extends Command {
constructor(...args) {
super(...args, {
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-07-01 08:59:42 +00:00
};