Changed import alias

This commit is contained in:
2024-10-07 18:16:23 +02:00
parent 0646e80697
commit 2ca3336f1f
104 changed files with 281 additions and 271 deletions

View File

@@ -1,10 +1,10 @@
import { embedColor } from "config/options.js"
import { Events } from "discord.js"
import fs from "fs"
import { IAutocomplete } from "interfaces"
import path from "path"
import { ExtendedClient as Client } from "utils/Client.js"
import logToChannel from "utils/functions/logtochannel.js"
import { embedColor } from "~/config/options.js"
import { IAutocomplete } from "~/interfaces"
import { ExtendedClient as Client } from "~/utils/Client.js"
import logToChannel from "~/utils/functions/logtochannel.js"
type FileType = "js" | "ts"
const __dirname = import.meta.dirname

View File

@@ -1,10 +1,10 @@
import { embedColor } from "config/options.js"
import { Events } from "discord.js"
import fs from "fs"
import { IButton } from "interfaces"
import path from "path"
import { ExtendedClient as Client } from "utils/Client.js"
import logToChannel from "utils/functions/logtochannel.js"
import { embedColor } from "~/config/options.js"
import { IButton } from "~/interfaces"
import { ExtendedClient as Client } from "~/utils/Client.js"
import logToChannel from "~/utils/functions/logtochannel.js"
type FileType = "js" | "ts"
const __dirname = import.meta.dirname

View File

@@ -1,10 +1,10 @@
import { embedColor } from "config/options.js"
import { Events } from "discord.js"
import fs from "fs"
import { ICommand } from "interfaces"
import path from "path"
import { ExtendedClient as Client } from "utils/Client.js"
import logToChannel from "utils/functions/logtochannel.js"
import { embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
import { ExtendedClient as Client } from "~/utils/Client.js"
import logToChannel from "~/utils/functions/logtochannel.js"
type FileType = "js" | "ts"
const __dirname = import.meta.dirname

View File

@@ -1,10 +1,10 @@
import { embedColor } from "config/options.js"
import { Events } from "discord.js"
import fs from "fs"
import { IContextMenu } from "interfaces"
import path from "path"
import { ExtendedClient as Client } from "utils/Client.js"
import logToChannel from "utils/functions/logtochannel.js"
import { embedColor } from "~/config/options.js"
import { IContextMenu } from "~/interfaces"
import { ExtendedClient as Client } from "~/utils/Client.js"
import logToChannel from "~/utils/functions/logtochannel.js"
type FileType = "js" | "ts"
const __dirname = import.meta.dirname

View File

@@ -1,7 +1,7 @@
import { CronJob } from "cron"
import fs from "fs"
import { ICron } from "interfaces"
import path from "path"
import { ICron } from "~/interfaces"
type FileType = "js" | "ts"
const __dirname = import.meta.dirname

View File

@@ -1,6 +1,6 @@
import fs from "fs"
import path from "path"
import { ExtendedClient as Client } from "utils/Client.js"
import { ExtendedClient as Client } from "~/utils/Client.js"
const __dirname = import.meta.dirname
export default async function loadEvents(client: Client) {

View File

@@ -1,10 +1,10 @@
import { embedColor } from "config/options.js"
import { Events } from "discord.js"
import fs from "fs"
import { IModal } from "interfaces"
import path from "path"
import { ExtendedClient as Client } from "utils/Client.js"
import logToChannel from "utils/functions/logtochannel.js"
import { embedColor } from "~/config/options.js"
import { IModal } from "~/interfaces"
import { ExtendedClient as Client } from "~/utils/Client.js"
import logToChannel from "~/utils/functions/logtochannel.js"
type FileType = "js" | "ts"
const __dirname = import.meta.dirname