Como fazer ping fantasma na discórdia

if(cmd === `${prefix}ping`) {

        message.channel.send("Pinging...").then(m =>{

            var ping = m.createdTimestamp - message.createdTimestamp;

            var botPing = Math.round(bot.pi);

            m.edit(`**:ping_pong: Pong! Your Ping Is:-**\n  ${ping}ms`);

        });

    }
Eager Eland