Updated function folder name
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user