EcoBot/commands/ping.js
2021-11-23 00:37:00 +01:00

9 lines
185 B
JavaScript

module.exports = {
api: {
name: "ping",
description: "Simple command to show latency"
},
run: (int, client, index) => {
int.reply("My ping is: " + client.ws.ping + " ms");
}
}