feat: Finish bot v1

This commit is contained in:
2024-02-26 14:45:34 +01:00
parent b23f6ffac6
commit 8ac3deace3
12 changed files with 307 additions and 10 deletions

12
commands/utility/user.js Normal file
View File

@ -0,0 +1,12 @@
const { SlashCommandBuilder } = require('discord.js');
module.exports = {
data: new SlashCommandBuilder()
.setName('user')
.setDescription('Provides information about the user.'),
async execute(interaction) {
// interaction.user is the object representing the User who ran the command
// interaction.member is the GuildMember object, which represents the user in the specific guild
await interaction.reply(`This command was run by ${interaction.user.username}, who joined on ${interaction.member.joinedAt}.`);
},
};