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

33
Commands/help.js Normal file
View File

@ -0,0 +1,33 @@
const { EmbedBuilder, SlashCommandBuilder } = require('discord.js');
module.exports = {
name: "help",
description: "Displays the bots Help page",
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('Dev Pengu Help')
.setURL('https://frankenbot.io/help')
.setDescription('A List of Commands for Dev Pengu')
.addFields(
{ name: '**Help**', value: '`/help`' },
{ name: '**Clear**', value: '`/clear amount`' },
)
interaction.reply({ embeds: [userEmbed] })
.catch(err => {
console.log(err)
return
});
},
}