1if(cmd === `${prefix}ping`) {
2 message.channel.send("Pinging...").then(m =>{
3 var ping = m.createdTimestamp - message.createdTimestamp;
4 var botPing = Math.round(bot.pi);
5
6 m.edit(`**:ping_pong: Pong! Your Ping Is:-**\n ${ping}ms`);
7 });
8 }
1if(cmd === `${prefix}ping`) {
2
3 message.channel.send("Pinging...").then(m =>{
4
5 var ping = m.createdTimestamp - message.createdTimestamp;
6
7 var botPing = Math.round(bot.pi);
8
9 m.edit(`**:ping_pong: Pong! Your Ping Is:-**\n ${ping}ms`);
10
11 });
12
13 }