const ms = require('ms'); module.exports = { name: 'ping', aliases: [], utilisation: '{prefix}ping', async execute(client, message) { 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 `); }, };