nodbot/commands/help.js

13 lines
404 B
JavaScript
Raw Normal View History

2021-07-19 02:23:40 +00:00
const functions = require('../functions.js');
2021-06-27 23:41:25 +00:00
module.exports = {
name: 'help',
description: 'Shows the help page.',
2021-07-01 22:12:21 +00:00
execute(message, file) {
2021-07-19 02:23:40 +00:00
message.author.createDM()
.then(dmChannel => {
dmChannel.send(functions.createHelpEmbed(message)).then().catch(err => console.error(err));
message.reply('I\'ve DM\'d you a copy of my help message!');
}).catch(err => console.error(err));
2021-06-27 23:41:25 +00:00
},
};