12 lines
409 B
JavaScript
12 lines
409 B
JavaScript
const { MESSAGES } = require("../../util/constants");
|
|
|
|
module.exports.run = async (client, message, args) => {
|
|
const msg = await message.channel.send("Pong ! ");
|
|
msg.edit(
|
|
`Pong !
|
|
Latence du bot: ${msg.createdTimestamp - message.createdTimestamp}ms
|
|
Latence de l'API: ${Math.round(client.ws.ping)}ms`
|
|
)
|
|
};
|
|
|
|
module.exports.help = MESSAGES.COMMANDS.UTILITAIRE.PING; |