silvanus/dot-commands/_template
2023-06-06 19:37:36 -04:00

18 lines
446 B
Plaintext

const fn = require('../modules/functions.js');
module.exports = {
name: "",
description: "",
usage: "",
permission: "devTeam", // "devTeam" or "owner"
async execute(message, commandData) {
if (fn.dotCommands.checkPermissions(this.permission, message.author.id)) {
try {
// Code Here
} catch (err) {
console.error(err);
await message.reply(fn.builders.errorEmbed("There was an error running the command."));
}
}
}
}