diff options
| author | Unknown <jtsshieh@outlook.com> | 2018-02-23 20:22:56 -0500 |
|---|---|---|
| committer | Unknown <jtsshieh@outlook.com> | 2018-02-23 20:22:56 -0500 |
| commit | 4a455906870e49452ab8d88b793aa1e354499e42 (patch) | |
| tree | e501b1490dd2d1a39f5e82573a8a73ded708f285 /commands/ping.js | |
| parent | 772caab56edc08e8a0ef2588626af77ef09c82fd (diff) | |
| download | PokeBot-4a455906870e49452ab8d88b793aa1e354499e42.tar.gz PokeBot-4a455906870e49452ab8d88b793aa1e354499e42.tar.bz2 PokeBot-4a455906870e49452ab8d88b793aa1e354499e42.zip | |
PLease work
Diffstat (limited to 'commands/ping.js')
| -rw-r--r-- | commands/ping.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/commands/ping.js b/commands/ping.js new file mode 100644 index 0000000..8ba3ae9 --- /dev/null +++ b/commands/ping.js @@ -0,0 +1,14 @@ +exports.run = (bot, msg, args) => { + msg.channel.send(':ping_pong: Pong! ' + Math.floor(bot.ping) + 'ms.'); +}; + +exports.conf = { + aliases: [], + guildOnly: true, +}; + +exports.help = { + name: 'ping', + description: 'ping.', + usage: 'ping', +}; |
