fix command options & types

and start on closing
This commit is contained in:
Isaac
2022-10-11 21:24:09 +01:00
parent 4469aa4920
commit 83ab003db5
14 changed files with 267 additions and 21 deletions

View File

@@ -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();
}
};