const BaseCommand = require('../../utils/structures/BaseCommand');

module.exports = class PingCommand extends BaseCommand {
	constructor() {
		super('ping', 'info', []);
	}

	async run(client, message, args) {
		await message.reply(`Wicked Latency: \`${Date.now() - message.createdTimestamp}ms\`\nDiscord API Latency: \`${Math.round(client.ws.ping)}ms\`\n`);
	}
};