Skip to content

Commit

Permalink
Actually did InteractionData Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JustCat80 committed May 30, 2021
1 parent 67abcdb commit afc67c4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lib/structures/InteractionData.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ const Base = require("./Base");

/**
* Data within an Interaction Object
* @prop {String?} id The ID of the Interaction Data Button id (Message Component), or Command Id (Slash Command)
* @prop {Number?} componentType The type of Message Component (Message Component only)
* @prop {String?} name The command name (Slash Command only)
* @prop {String?} id The ID of the Interaction Data Button id (Message Component), or Command Id (Slash Command)
* @prop {Object?} options The command options (Slash Command only)
* @prop {Object?} options.name The type of Message Component (Slash Command only)
* @prop {String?} name The command name (Slash Command only)
* @prop {Array<Object>?} options The run Slash Command options (Slash Command only)
* @prop {String?} options.name The name of the Slash Command option (Slash Command only)
* @prop {String?} options.value The value of the run Slash Command (Slash Command only)
*/
class InteractionData extends Base {
constructor(data) {
Expand Down

0 comments on commit afc67c4

Please sign in to comment.