chore: 🎉 initial commit

This commit is contained in:
UltraLionFr
2025-08-26 01:01:34 +02:00
parent bf6d61e5a3
commit 30cfbd73fc
27 changed files with 1341 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
const { config, lang } = require("../handlers/configLoader");
module.exports = {
id: "cancelClosure",
async execute(interaction) {
const member = interaction.member;
const isStaff = config.staffRoles.some(roleId => member.roles.cache.has(roleId));
if (!isStaff) {
return interaction.reply({
content: lang.permissions.staff_only,
flags: 64
});
}
await interaction.reply({
content: lang.commands.alert.cancelled,
flags: 64
});
}
};