Update backend, DB, Commands, Live Reloading
This commit is contained in:
@@ -10,7 +10,7 @@ const commandFiles = fs.readdirSync(commandsPath).filter(file => file.endsWith('
|
||||
for (const file of commandFiles) {
|
||||
const filePath = path.join(commandsPath, file);
|
||||
const command = require(filePath);
|
||||
if (command.enabled === false) continue;
|
||||
if (command.enabled === false || command.dev === true) continue;
|
||||
|
||||
if (command.builder) {
|
||||
commands.push(command.builder.toJSON());
|
||||
|
||||
Reference in New Issue
Block a user