mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-25 22:55:00 +05:00
Лишнее начало новой строки
This commit is contained in:
parent
d7d13d2fc4
commit
7c48c33e14
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -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) => {
|
||||||
|
|
Loading…
Reference in a new issue