nodbot/slash-commands/help.js

11 lines
308 B
JavaScript

const { SlashCommandBuilder } = require('@discordjs/builders');
const fn = require('../functions.js');
module.exports = {
data: new SlashCommandBuilder()
.setName('help')
.setDescription('Send the help page.'),
async execute(interaction) {
await interaction.reply(fn.embeds.help(interaction));
}
};