diff --git a/events/buttons/checkstats.js b/events/buttons/checkstats.js index c235c0b..d719788 100644 --- a/events/buttons/checkstats.js +++ b/events/buttons/checkstats.js @@ -10,6 +10,8 @@ module.exports = { description: 'Check your stats.', type: 'button', + /** @param {import('discord.js').ButtonInteraction} interaction */ + async execute(interaction) { await interaction.deferReply(); diff --git a/events/buttons/guildapplicationaccept.js b/events/buttons/guildapplicationaccept.js index dcc30af..4be7a03 100644 --- a/events/buttons/guildapplicationaccept.js +++ b/events/buttons/guildapplicationaccept.js @@ -10,6 +10,8 @@ module.exports = { description: 'Accept a guild application.', type: 'button', + /** @param {import('discord.js').ButtonInteraction} interaction */ + async execute(interaction) { await interaction.deferReply(); diff --git a/events/buttons/guildapplicationdeny.js b/events/buttons/guildapplicationdeny.js index 8c51b3e..6e0079a 100644 --- a/events/buttons/guildapplicationdeny.js +++ b/events/buttons/guildapplicationdeny.js @@ -6,6 +6,8 @@ module.exports = { description: 'Deny a guild application.', type: 'button', + /** @param {import('discord.js').ButtonInteraction} interaction */ + async execute(interaction) { const modal = new ModalBuilder() diff --git a/events/buttons/guildapply.js b/events/buttons/guildapply.js index 662b042..8b91bab 100644 --- a/events/buttons/guildapply.js +++ b/events/buttons/guildapply.js @@ -14,6 +14,8 @@ module.exports = { description: 'Guild application button.', type: 'button', + /** @param {import('discord.js').ButtonInteraction} interaction */ + async execute(interaction) { const user = interaction.user; diff --git a/events/buttons/guildinactivitylog.js b/events/buttons/guildinactivitylog.js index 87b1b00..0d5abaa 100644 --- a/events/buttons/guildinactivitylog.js +++ b/events/buttons/guildinactivitylog.js @@ -10,6 +10,8 @@ module.exports = { description: "Configure the bot.", type: "button", + /** @param {import('discord.js').ButtonInteraction} interaction */ + async execute(interaction) { const guild = interaction.guild; const user = interaction.user; diff --git a/events/buttons/inactiveapplicationaccept.js b/events/buttons/inactiveapplicationaccept.js index 7f754ca..009e53b 100644 --- a/events/buttons/inactiveapplicationaccept.js +++ b/events/buttons/inactiveapplicationaccept.js @@ -3,6 +3,8 @@ module.exports = { description: "Accept an inactivity application.", type: "button", + /** @param {import('discord.js').ButtonInteraction} interaction */ + async execute(interaction) { await interaction.reply({ content: "This button is currently disabled.", ephemeral: true }); diff --git a/events/buttons/inactiveapplicationdeny.js b/events/buttons/inactiveapplicationdeny.js index 811bbe9..4878755 100644 --- a/events/buttons/inactiveapplicationdeny.js +++ b/events/buttons/inactiveapplicationdeny.js @@ -3,6 +3,8 @@ module.exports = { description: "Denies an inactivity application.", type: "button", + /** @param {import('discord.js').ButtonInteraction} interaction */ + async execute(interaction) { await interaction.reply({ content: "This button is currently disabled.", ephemeral: true }); diff --git a/events/buttons/staffapplicationaccept.js b/events/buttons/staffapplicationaccept.js index 05ce69e..8e582dc 100644 --- a/events/buttons/staffapplicationaccept.js +++ b/events/buttons/staffapplicationaccept.js @@ -7,6 +7,8 @@ module.exports = { description: 'Accept a staff application.', type: 'button', + /** @param {import('discord.js').ButtonInteraction} interaction */ + async execute(interaction) { const user = interaction.user; diff --git a/events/buttons/staffapplicationdeny.js b/events/buttons/staffapplicationdeny.js index 3910465..2215456 100644 --- a/events/buttons/staffapplicationdeny.js +++ b/events/buttons/staffapplicationdeny.js @@ -5,6 +5,8 @@ module.exports = { description: 'Deny a guild application.', type: 'button', + /** @param {import('discord.js').ButtonInteraction} interaction */ + async execute(interaction) { const modal = new ModalBuilder() diff --git a/events/buttons/staffapply.js b/events/buttons/staffapply.js index 6d6c4bb..a7bac0d 100644 --- a/events/buttons/staffapply.js +++ b/events/buttons/staffapply.js @@ -15,6 +15,8 @@ module.exports = { description: 'Apply for the staff team.', type: 'button', + /** @param {import('discord.js').ButtonInteraction} interaction */ + async execute(interaction) { const user = interaction.user; diff --git a/events/buttons/verify.js b/events/buttons/verify.js index 7c203bc..b9fc2ad 100644 --- a/events/buttons/verify.js +++ b/events/buttons/verify.js @@ -6,6 +6,8 @@ module.exports = { description: 'Configure the bot.', type: 'button', + /** @param {import('discord.js').ButtonInteraction} interaction */ + async execute(interaction) { const modal = new ModalBuilder() diff --git a/events/buttons/waitingListUpdate.js b/events/buttons/waitingListUpdate.js index 97b4e6f..d0d348f 100644 --- a/events/buttons/waitingListUpdate.js +++ b/events/buttons/waitingListUpdate.js @@ -9,6 +9,8 @@ module.exports = { description: 'Update the waiting list.', type: 'button', + /** @param {import('discord.js').ButtonInteraction} interaction */ + async execute(interaction) { await interaction.deferReply({ ephemeral: true });