mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 11:33:30 +01:00
types(Extendable): add ButtonInteraction (#5802)
This commit is contained in:
@@ -20,7 +20,6 @@
|
|||||||
* * **`Role`**
|
* * **`Role`**
|
||||||
* * **`User`**
|
* * **`User`**
|
||||||
* * **`CommandInteraction`**
|
* * **`CommandInteraction`**
|
||||||
* * **`MessageComponentInteraction`**
|
|
||||||
* * **`ButtonInteraction`**
|
* * **`ButtonInteraction`**
|
||||||
* @typedef {string} ExtendableStructure
|
* @typedef {string} ExtendableStructure
|
||||||
*/
|
*/
|
||||||
@@ -113,7 +112,6 @@ const structures = {
|
|||||||
Role: require('../structures/Role'),
|
Role: require('../structures/Role'),
|
||||||
User: require('../structures/User'),
|
User: require('../structures/User'),
|
||||||
CommandInteraction: require('../structures/CommandInteraction'),
|
CommandInteraction: require('../structures/CommandInteraction'),
|
||||||
MessageComponentInteraction: require('../structures/MessageComponentInteraction'),
|
|
||||||
ButtonInteraction: require('../structures/ButtonInteraction'),
|
ButtonInteraction: require('../structures/ButtonInteraction'),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
@@ -2833,6 +2833,7 @@ declare module 'discord.js' {
|
|||||||
Role: typeof Role;
|
Role: typeof Role;
|
||||||
User: typeof User;
|
User: typeof User;
|
||||||
CommandInteraction: typeof CommandInteraction;
|
CommandInteraction: typeof CommandInteraction;
|
||||||
|
ButtonInteraction: typeof ButtonInteraction;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface FetchBanOptions {
|
interface FetchBanOptions {
|
||||||
|
|||||||
Reference in New Issue
Block a user