Skip to content
This repository was archived by the owner on Oct 5, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions guide/popular-topics/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down