types(Extendable): add ButtonInteraction (#5802)

This commit is contained in:
Ratul Saha
2021-06-12 03:24:00 +05:30
committed by GitHub
parent e3e466d3e5
commit 19fd1622f5
2 changed files with 1 additions and 2 deletions

View File

@@ -20,7 +20,6 @@
* * **`Role`**
* * **`User`**
* * **`CommandInteraction`**
* * **`MessageComponentInteraction`**
* * **`ButtonInteraction`**
* @typedef {string} ExtendableStructure
*/
@@ -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'),
};

1
typings/index.d.ts vendored
View File

@@ -2833,6 +2833,7 @@ declare module 'discord.js' {
Role: typeof Role;
User: typeof User;
CommandInteraction: typeof CommandInteraction;
ButtonInteraction: typeof ButtonInteraction;
}
interface FetchBanOptions {