master
Matthew 2024-03-22 00:18:53 -04:00
parent 012c150e2d
commit 272402d34c
Signed by: matthew
SSH Key Fingerprint: SHA256:piIXekA9q1p0ZGi4ogFbNY1embip5Ytbi3v8AZ8UYq4
1 changed files with 0 additions and 1 deletions

View File

@ -9,7 +9,6 @@ export default class Ping extends DiscordInteractionCommand {
public async execute(interaction: ChatInputCommandInteraction): Promise<void> { public async execute(interaction: ChatInputCommandInteraction): Promise<void> {
const startTimestamp = Date.now(); // Mark the start of processing const startTimestamp = Date.now(); // Mark the start of processing
// Assuming `interaction.reply` sends the initial response and records the timestamp right after
await interaction.reply({ content: "Pong!", ephemeral: false }); await interaction.reply({ content: "Pong!", ephemeral: false });
const repliedTimestamp = Date.now(); // Mark the timestamp after replying const repliedTimestamp = Date.now(); // Mark the timestamp after replying