Added @params options for commands
This commit is contained in:
@@ -10,6 +10,8 @@ module.exports = {
|
||||
.setType(ApplicationCommandType.Message)
|
||||
.setDefaultMemberPermissions(PermissionFlagsBits.ManageMessages),
|
||||
|
||||
/** @param { import('discord.js').ContextMenuCommandInteraction } interaction */
|
||||
|
||||
async execute(interaction) {
|
||||
|
||||
const { targetId } = interaction
|
||||
|
||||
@@ -10,6 +10,8 @@ module.exports = {
|
||||
.setType(ApplicationCommandType.User)
|
||||
.setDefaultMemberPermissions(PermissionFlagsBits.ManageNicknames),
|
||||
|
||||
/** @param { import('discord.js').ContextMenuCommandInteraction } interaction */
|
||||
|
||||
async execute(interaction) {
|
||||
|
||||
const { targetId } = interaction
|
||||
|
||||
Reference in New Issue
Block a user