Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Commit

Permalink
Update ping.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sandarutharuneth authored Jul 23, 2022
1 parent f4f5023 commit 19ddf26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions slash/ping.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ module.exports = {
.setTitle("Pong!")
.setColor('#2F3136')
.setThumbnail(process.env.THUMBNAIL)
.addField('**Latency**', `\`\`\`ini\n${Date.now() - interaction.createdTimestamp}ms\n\`\`\``)
.addField('**API Latency**', `\`\`\`ini\n${Math.round(client.ws.ping)}ms\n\`\`\``)
.addField('**Latency**', `\`\`\`ini\n[ ${Date.now() - interaction.createdTimestamp}ms ]\n\`\`\``)
.addField('**API Latency**', `\`\`\`ini\n[ ${Math.round(client.ws.ping)}ms ]\n\`\`\``)
.setTimestamp()
.setFooter({
text: `©️ IVON`,
Expand Down

0 comments on commit 19ddf26

Please sign in to comment.