blob: e30781de09a0803002a843556c2234db359a709f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
module.exports = {
name: 'ping',
description: "🏓 pong!",
async execute(message, args) {
const a = Date.now();
const mesgA = await message.reply(`🏓 pong!\ngateway: ${client.ws.ping}ms`);
const b = Date.now();
await mesgA.edit(`${mesgA.content}\napi: ${b-a}ms`);
}
}
|