Skip to content

Commit

Permalink
acknowledged docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JustCat80 committed Aug 4, 2021
1 parent 2c0dd16 commit 865a8e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2322,6 +2322,7 @@ declare namespace Eris {

//Interaction
export class Interaction extends Base {
acknowledged: boolean;
applicationID: string;
id: string;
token: string;
Expand Down
1 change: 1 addition & 0 deletions lib/structures/Interaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const {InteractionTypes} = require("../Constants");

/**
* Represents an interaction. You also probably want to look at PingInteraction, CommandInteraction, ComponentInteraction, and UnknownInteraction.
* @prop {Boolean} acknowledged Whether or not the interaction has been acknowledged
* @prop {String} applicationID The ID of the interaction's application
* @prop {String} id The ID of the interaction
* @prop {String} token The interaction token (Interaction tokens are valid for 15 minutes after initial response and can be used to send followup messages but you must send an initial response within 3 seconds of receiving the event. If the 3 second deadline is exceeded, the token will be invalidated.)
Expand Down

0 comments on commit 865a8e8

Please sign in to comment.