1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-14 03:30:18 +00:00
musix-oss/commands/ping.js

8 lines
246 B
JavaScript
Raw Normal View History

2019-08-02 08:32:00 +00:00
module.exports = {
name: 'ping',
description: 'Ping command.',
cooldown: 5,
execute(message, args, client, RichEmbed) {
return message.channel.send(`My current Ping: **${Math.floor(client.ping * 10) / 10} ms**.`);
}
};