diff --git a/guide/popular-topics/faq.md b/guide/popular-topics/faq.md index 8c740b668..7f8379934 100644 --- a/guide/popular-topics/faq.md +++ b/guide/popular-topics/faq.md @@ -319,8 +319,8 @@ If you're using [sharding](/sharding/), a specific shard's heartbeat can be foun The second, **Roundtrip Latency**, describes the amount of time a full API roundtrip (from the creation of the command message to the creation of the response message) takes. You then edit the response to the respective value to avoid needing to send yet another message: ```js -const sent = await interaction.reply({ content: 'Pinging...' }); -interaction.editReply(`Roundtrip latency: ${sent.createdTimestamp - interaction.createdTimestamp}ms`); +const sent = await interaction.reply({ content: 'Pinging...', withResponse: true }); +interaction.editReply(`Roundtrip latency: ${sent.resource.message.createdTimestamp - interaction.createdTimestamp}ms`); ``` ### Why do some emojis behave weirdly?