mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-12 00:04:48 +02:00
Update ping to latest master
This commit is contained in:
@@ -19,7 +19,7 @@ module.exports = class PingCommand extends Command {
|
||||
const ping = Math.round(message.createdTimestamp - msg.createdTimestamp);
|
||||
return message.edit(stripIndents`
|
||||
🏓 P${'o'.repeat(Math.min(Math.round(ping / 100), 1500))}ng! \`${formatNumber(ping)}ms\`
|
||||
Heartbeat: \`${formatNumber(Math.round(this.client.ping))}ms\`
|
||||
Heartbeat: \`${formatNumber(Math.round(this.client.ws.ping))}ms\`
|
||||
`);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user