You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

19 lines
474 B

const { Command } = require('discord.js-commando');
const fun = require('../../js/functions.js');
const boot = new Date();
module.exports = class uptimeCommand extends Command {
constructor(client) {
super(client, {
name: 'uptime',
aliases: ['u'],
group: 'bot',
memberName: 'uptime',
description: 'Get the bots uptime'
});
}
run(msg) {
msg.say(fun.unixDur(boot, true))
}
}