2021-11-09 09:34:55 +01:00
|
|
|
const { SlashCommandBuilder } = require('@discordjs/builders');
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
data: new SlashCommandBuilder()
|
|
|
|
.setName('user')
|
|
|
|
.setDescription('Replies with User info!'),
|
|
|
|
async execute(interaction) {
|
2021-11-14 11:45:40 +01:00
|
|
|
await interaction.reply({content: 'Your tag: ${interaction.user.tag}\nYour id: ${interaction.user.id}', ephemeral:true});
|
2021-11-09 09:34:55 +01:00
|
|
|
},
|
|
|
|
};
|