dscrdbt/commands/utility/user.js

11 lines
392 B
JavaScript

const { SlashCommandBuilder } = require('discord.js');
module.exports = {
data: new SlashCommandBuilder()
.setName('user')
.setDescription('Provides information about the user.'),
async execute(interaction) {
await interaction.reply(`This command was run by ${interaction.user.username},
who joined on ${interaction.member.joinedAt}.`);
},
};