refactor: added barrel file to utils

This commit is contained in:
Slincnik 2024-12-11 15:13:07 +03:00
parent 55e0118e24
commit 7109a2a0ef
No known key found for this signature in database
3 changed files with 5 additions and 2 deletions

View file

@ -1,6 +1,6 @@
import logger from "../../helpers/logger.js"; import logger from "../../helpers/logger.js";
import { client } from "../../index.js"; import { client } from "../../index.js";
import { getFilePaths } from "../../utils/get-path.js"; import { getFilePaths } from "../../utils/index.js";
import { toFileURL } from "../../utils/resolve-file.js"; import { toFileURL } from "../../utils/resolve-file.js";
import registerCommands from "./functions/registerCommands.js"; import registerCommands from "./functions/registerCommands.js";

View file

@ -1,6 +1,6 @@
import logger from "../../helpers/logger.js"; import logger from "../../helpers/logger.js";
import { client } from "../../index.js"; import { client } from "../../index.js";
import { getFilePaths } from "../../utils/get-path.js"; import { getFilePaths } from "../../utils/index.js";
import { toFileURL } from "../../utils/resolve-file.js"; import { toFileURL } from "../../utils/resolve-file.js";
export const events = []; export const events = [];

3
src/utils/index.js Normal file
View file

@ -0,0 +1,3 @@
export * from "./create-embed.js";
export * from "./get-path.js";
export * from "./resolve-file.js";