#Is it possible to check if component timed out AFTER it has timed out?

1 messages · Page 1 of 1 (latest)

shell gust

For example, when a message is sent with a select-menu component:

 try {
  const select = await initialReply.awaitMessageComponent({ filter: i => i.user.id === interaction.user.id, time: 15_000 });
} catch (error) {
    console.log(`[setup.js]`, error);
// Instead of making a chat message appear stating the command timed out automatically, send the message if the user continues to try using the component within the message (if it exists)
}