mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-04 09:21:25 +03:00
fix command options & types
and start on closing
This commit is contained in:
@@ -8,5 +8,14 @@ module.exports = class CloseButton extends Button {
|
||||
});
|
||||
}
|
||||
|
||||
async run(id, interaction) { }
|
||||
/**
|
||||
* @param {*} id
|
||||
* @param {import("discord.js").ButtonInteraction} interaction
|
||||
*/
|
||||
async run(id, interaction) {
|
||||
/** @type {import("client")} */
|
||||
const client = this.client;
|
||||
|
||||
await interaction.deferReply();
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user