EcoBot/commands/ping.js

9 lines
185 B
JavaScript
Raw Permalink Normal View History

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