I just created a command handler and added a PREFIX thing to .env. The command handler uses fs. You can follow the template below:
module.exports.run = (client, message, args) => {
message.channel.send(`This is a template! And this is what is after ?template: ${args.join(' ')}`);
};
module.exports.help = {
name: 'template'
};
I just created a command handler and added a PREFIX thing to .env. The command handler uses fs. You can follow the template below:
FS checks the folder
cmds
for javascript files.