Creates a new user context menu command
The options for the command
The callback for the command
module.exports.default = new UserContextMenuCommand({
data: {
name: 'Get ID'
},
cooldownSeconds: 2
}, async (client, interaction) => {
await interaction.reply(`ID of ${interaction.targetUser}: ${interaction.targetUser.id}`);
});
The callback for the command
The cooldowns for the command
The options for the command
Generated using TypeDoc
Represents a user context menu command