2019-11-26 21:22:24 +00:00
|
|
|
exports.run = async (client, message, args, level) => { // eslint-disable-line no-unused-vars
|
|
|
|
const msg = await message.channel.send("Ping?");
|
|
|
|
msg.edit(`Pong! Latency is ${msg.createdTimestamp - message.createdTimestamp}ms. API Latency is ${Math.round(client.ping)}ms`);
|
|
|
|
};
|
|
|
|
|
|
|
|
exports.conf = {
|
|
|
|
enabled: true,
|
|
|
|
guildOnly: false,
|
|
|
|
aliases: [],
|
|
|
|
permLevel: "User"
|
|
|
|
};
|
|
|
|
|
|
|
|
exports.help = {
|
|
|
|
name: "ping",
|
2019-12-21 22:18:18 +00:00
|
|
|
category: "Information",
|
2019-11-26 21:22:24 +00:00
|
|
|
description: "It like... Pings. Then Pongs. And it's not Ping Pong.",
|
|
|
|
usage: "ping"
|
|
|
|
};
|