Add ping command
This commit is contained in:
parent
46fe7b8532
commit
cfa1ceaf56
1 changed files with 7 additions and 0 deletions
7
commands/ping.js
Normal file
7
commands/ping.js
Normal 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`)
|
||||
}
|
||||
};
|
Loading…
Add table
Reference in a new issue