Add slash commands support #20
1 changed files with 3 additions and 3 deletions
|
@ -10,7 +10,7 @@ export default {
|
||||||
const sent = await interaction.reply({ content: 'Pinging...', fetchReply: true });
|
const sent = await interaction.reply({ content: 'Pinging...', fetchReply: true });
|
||||||
|
|
||||||
interaction.editReply(
|
interaction.editReply(
|
||||||
`Roundtrip latency:
|
`Roundtrip latency: \
|
||||||
${sent.createdTimestamp - interaction.createdTimestamp}ms
|
${sent.createdTimestamp - interaction.createdTimestamp}ms
|
||||||
Websocket heartbeat: ${client.ws.ping}ms.`);
|
Websocket heartbeat: ${client.ws.ping}ms.`);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue