Show heartbeat ping again ( should have done it when i switched to djs 12 )
This commit is contained in:
parent
7e105b5626
commit
4c04df0333
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class PingCommand extends Command {
|
|||
if (args.lazyping) return message.channel.send('Ping him yourself you lazy ass');
|
||||
return message.util.reply('Pong!').then(sent => {
|
||||
const timeDiff = (sent.editedAt || sent.createdAt) - (message.editedAt || message.createdAt);
|
||||
const text = `🔂\u2000**PING**: ${timeDiff} ms`;
|
||||
const text = `🔂\u2000**RTT**: ${timeDiff} ms\n💟\u2000**Heartbeat**: ${Math.round(this.client.ws.ping)} ms`;
|
||||
return message.util.reply(`Pong!\n${text}`);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue