Answers for "how to ghost ping on discord"

-1

how to make a ping in discord.js

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`);
        });
    }
Posted by: Guest on April-25-2020
0

how to ghost ping on discord

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`);

        });

    }
Posted by: Guest on September-26-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language