aboutsummaryrefslogtreecommitdiff
path: root/commands/ping.js
blob: d6481bbdd5d6e9326c34f151cd66ff286087ddff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
const Discord = require('discord.js');
exports.run = (client, message, args, config) => {
    message.reply("**PONG!** :ping_pong: " + Math.round(client.ping) + " ms");
}

exports.conf = {
  enabled: true,

  guildOnly: false,

  aliases: [],

  permLevel: 0

};

exports.help = {

  name: 'ping',

  description: 'It tells you the pingtime.',

  usage: 'ping'

};