Added more debugging

This commit is contained in:
Logan Cusano
2023-02-25 03:54:42 -05:00
parent 7a89baf666
commit 6eef72e951

View File

@@ -110,6 +110,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);
log.DEBUG("Importing command: ", command.data.name);
// Set a new item in the Collection
// With the key as the command name and the value as the exported module
client.commands.set(command.data.name, command);