mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-12-29 23:03:02 +05:00
refactor: added barrel file to utils
This commit is contained in:
parent
55e0118e24
commit
7109a2a0ef
3 changed files with 5 additions and 2 deletions
|
@ -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";
|
||||||
|
|
||||||
|
|
|
@ -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
3
src/utils/index.js
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
export * from "./create-embed.js";
|
||||||
|
export * from "./get-path.js";
|
||||||
|
export * from "./resolve-file.js";
|
Loading…
Reference in a new issue