Skip to content

Commit

Permalink
types(Extendable): add ButtonInteraction (#5802)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThatAnonyG committed Jun 11, 2021
1 parent e3e466d commit 19fd162
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions src/util/Structures.js
Expand Up @@ -20,7 +20,6 @@
* * **`Role`**
* * **`User`**
* * **`CommandInteraction`**
* * **`MessageComponentInteraction`**
* * **`ButtonInteraction`**
* @typedef {string} ExtendableStructure
*/
Expand Down Expand Up @@ -113,7 +112,6 @@ const structures = {
Role: require('../structures/Role'),
User: require('../structures/User'),
CommandInteraction: require('../structures/CommandInteraction'),
MessageComponentInteraction: require('../structures/MessageComponentInteraction'),
ButtonInteraction: require('../structures/ButtonInteraction'),
};

Expand Down
1 change: 1 addition & 0 deletions typings/index.d.ts
Expand Up @@ -2833,6 +2833,7 @@ declare module 'discord.js' {
Role: typeof Role;
User: typeof User;
CommandInteraction: typeof CommandInteraction;
ButtonInteraction: typeof ButtonInteraction;
}

interface FetchBanOptions {
Expand Down

0 comments on commit 19fd162

Please sign in to comment.