nodbot/slash-commands/help.js

11 lines
308 B
JavaScript
Raw Normal View History

2021-09-22 17:15:31 +00:00
const { SlashCommandBuilder } = require('@discordjs/builders');
const fn = require('../functions.js');
module.exports = {
data: new SlashCommandBuilder()
.setName('help')
2024-09-24 01:10:08 +00:00
.setDescription('Send the help page.'),
2021-09-22 17:15:31 +00:00
async execute(interaction) {
2022-06-10 01:27:43 +00:00
await interaction.reply(fn.embeds.help(interaction));
2024-09-24 01:10:08 +00:00
}
2021-09-22 17:15:31 +00:00
};