✨ Update (v6.0.0)
This commit is contained in:
11
commands/core/ping.js
Normal file
11
commands/core/ping.js
Normal file
@@ -0,0 +1,11 @@
|
||||
const ms = require('ms');
|
||||
|
||||
module.exports = {
|
||||
name: 'ping',
|
||||
aliases: [],
|
||||
utilisation: '{prefix}ping',
|
||||
|
||||
execute(client, message) {
|
||||
message.channel.send(`Last heartbeat calculated ${ms(Date.now() - client.ws.shards.first().lastPingTimestamp, { long: true })} ago **${client.ws.ping}ms** 🛰️`);
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user