comments
parent
012c150e2d
commit
272402d34c
|
@ -9,7 +9,6 @@ export default class Ping extends DiscordInteractionCommand {
|
|||
public async execute(interaction: ChatInputCommandInteraction): Promise<void> {
|
||||
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 });
|
||||
const repliedTimestamp = Date.now(); // Mark the timestamp after replying
|
||||
|
||||
|
|
Loading…
Reference in New Issue