Updated function folder name

This commit is contained in:
2024-10-16 19:39:56 +02:00
parent 619225b66e
commit e0f4f2c0c8
38 changed files with 37 additions and 37 deletions

View File

@@ -3,7 +3,7 @@ import fs from "fs"
import { ICommand, IContextMenu } from "~/interfaces"
import { ExtendedClient } from "./Client.js"
import env from "./Env.js"
import { color } from "./functions/colors.js"
import { color } from "./Functions/colors.js"
type FileType = "js" | "ts"
export default async function autoDeployCommands(fileType: FileType, client: ExtendedClient) {

View File

@@ -2,7 +2,7 @@ import { Client, Collection, GatewayIntentBits, Partials } from "discord.js"
import { IAutocomplete, IButton, ICommand, IContextMenu, IModal } from "~/interfaces"
import autoDeployCommands from "./Autodeploy.js"
import env from "./Env.js"
import { color } from "./functions/colors.js"
import { color } from "./Functions/colors.js"
export class ExtendedClient extends Client {
commands: Collection<string, ICommand> = new Collection()

View File

@@ -4,7 +4,7 @@ import path from "path"
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"
import logToChannel from "~/utils/Functions/logtochannel.js"
type FileType = "js" | "ts"
const __dirname = import.meta.dirname

View File

@@ -4,7 +4,7 @@ import path from "path"
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"
import logToChannel from "~/utils/Functions/logtochannel.js"
type FileType = "js" | "ts"
const __dirname = import.meta.dirname

View File

@@ -4,7 +4,7 @@ import path from "path"
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"
import logToChannel from "~/utils/Functions/logtochannel.js"
type FileType = "js" | "ts"
const __dirname = import.meta.dirname

View File

@@ -4,7 +4,7 @@ import path from "path"
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"
import logToChannel from "~/utils/Functions/logtochannel.js"
type FileType = "js" | "ts"
const __dirname = import.meta.dirname

View File

@@ -4,7 +4,7 @@ import path from "path"
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"
import logToChannel from "~/utils/Functions/logtochannel.js"
type FileType = "js" | "ts"
const __dirname = import.meta.dirname

View File

@@ -3,7 +3,7 @@ import { YoutubeiExtractor } from "discord-player-youtubei"
import { Redis } from "ioredis"
import { ExtendedClient as Client } from "~/utils/Client.js"
import env from "~/utils/Env.js"
import { color } from "~/utils/functions/colors.js"
import { color } from "~/utils/Functions/colors.js"
import { MissingEnvVarsError } from "./Classes.js"
import loadAllEvents from "./Events/loadevents.js"