Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. //Ping Command
  2. function pingCommand(receivedMessage) {
  3. const pingmessage = receivedMessage.channel.send('Pinging...')
  4. pingmessage.edit(`Estimated ping: ${receivedMessage.createdTimestamp - pingmessage.createdTimestamp}ms, bot ping is ${Math.round(client.ping)}ms `)
  5.  
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement