discord_bot/commands/misc/ping.js
SileNce5k e7cdd425d1
Split commands into subdirectories
* Move command files into directories

* Edit relative paths

* Update gitignore

* Finish support for commands in subdir

* Split up getCommandFiles into own function

* Add support for subdirs on help command
2021-07-18 11:24:46 +02:00

7 lines
No EOL
150 B
JavaScript

module.exports = {
name: 'ping',
description: 'Just ping.',
execute({message, client}) {
message.channel.send(`Pong.\n${client.ws.ping}ms`)
}
};