Add files via upload

This commit is contained in:
2022-11-22 19:53:50 +01:00
committed by GitHub
parent e4415f9180
commit 553fcd87cf
12 changed files with 750 additions and 0 deletions

32
Commands/stats.js Normal file
View File

@ -0,0 +1,32 @@
const { EmbedBuilder, SlashCommandBuilder } = require('discord.js');
module.exports = {
name: "stats",
description: "Displays your stats",
options: [],
CommandCreator() {
const data = new SlashCommandBuilder()
.setName(this.name)
.setDescription(this.description);
return data.toJSON();
},
async run(bot, interaction) {
const userEmbed = new EmbedBuilder()
.setColor('#0099ff')
.setTitle(interaction.user.tag + " Stats")
.setDescription('A List of Commands for Dev Pengu')
.addFields(
{ name: '**XP**', value: '0', inline: true },
{ name: '**Level**', value: '0', inline: true },
)
interaction.reply({ embeds: [userEmbed] })
.catch(err => {
console.log(err)
return
});
},
}