Added @params options to buttons
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user