silvanus/dot-commands/_template

18 lines
446 B
Plaintext
Raw Permalink Normal View History

2023-05-16 17:24:42 +00:00
const fn = require('../modules/functions.js');
module.exports = {
name: "",
description: "",
usage: "",
2023-06-03 19:40:12 +00:00
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."));
}
}
2023-05-16 17:24:42 +00:00
}
}