Лишнее начало новой строки

This commit is contained in:
JonnyBro 2021-12-31 14:06:23 +05:00
parent d7d13d2fc4
commit 7c48c33e14

View file

@ -26,7 +26,7 @@ const JaBa = require("./base/JaBa"),
const init = async () => { const init = async () => {
// Search for all commands // Search for all commands
const directories = await readdir("./commands/"); const directories = await readdir("./commands/");
client.logger.log(`\nLoading a total of ${directories.length} categories.`, "log"); client.logger.log(`Loading a total of ${directories.length} categories.`, "log");
directories.forEach(async (dir) => { directories.forEach(async (dir) => {
const commands = await readdir(`./commands/${dir}/`); const commands = await readdir(`./commands/${dir}/`);
commands.filter((cmd) => cmd.split(".").pop() === "js").forEach((cmd) => { commands.filter((cmd) => cmd.split(".").pop() === "js").forEach((cmd) => {