Add ping command

This commit is contained in:
SileNce5k 2021-06-30 18:19:18 +02:00
parent 46fe7b8532
commit cfa1ceaf56
No known key found for this signature in database
GPG key ID: C507260E7F2583AD

7
commands/ping.js Normal file
View file

@ -0,0 +1,7 @@
module.exports = {
name: 'ping', // Keep it to one word
description: 'Just ping.',
execute({message, client}) { //parameters you can use for netload: message, args, client, prefix
message.channel.send(`Ping is ${client.ws.ping}ms`)
}
};