Blancoda goat

Bot developer

Interaction Token TTL

Countdown to the 15-minute interaction token expiry.

Token expiry

Your bot must send an initial interaction response within 3 seconds. After that, the token stays valid for 15 minutes for edits and follow-up messages.

Countdown starts when Discord delivers the interaction. Follow-up and edit window: 15 minutes total from that moment.

How to use

  1. When a user clicks your bot's button or slash command, Discord starts a 15-minute window for follow-up messages using that interaction token.
  2. Paste the interaction created_at timestamp from your framework's interaction object, or click Use current time right when the interaction arrives.
  3. You must respond to the interaction within 3 seconds first (ack/defer/reply). This countdown is for follow-ups after that initial response.

Frequently asked questions

When does the 15-minute window start?
When Discord delivers the interaction to your bot. Use the interaction created_at timestamp or click Use current time.
How do I use Interaction Token TTL?
When a user clicks your bot's button or slash command, Discord starts a 15-minute window for follow-up messages using that interaction token.
What do I paste into Interaction Token TTL?
Paste the interaction created_at timestamp from your framework's interaction object, or click Use current time right when the interaction arrives.