Added absolute paths

This commit is contained in:
2024-01-13 18:09:11 +01:00
parent 6a1c6c17fd
commit 65bef46212
88 changed files with 294 additions and 287 deletions

View File

@@ -3,11 +3,11 @@ import {
guildLogChannel,
color,
devMessage,
} from "../../../config/options.json"
import colorLog from "../../utils/functions/colors"
import { getGuild, getIGN } from "../../utils/Hypixel"
import { Cron, GuildData } from "../../interfaces"
import Illegitimate from "../../utils/Illegitimate"
} from "@config/options.json"
import colorLog from "@utils/functions/colors"
import { getGuild, getIGN } from "@utils/Hypixel"
import { Cron, GuildData } from "@interfaces"
import Illegitimate from "@utils/Illegitimate"
import { TextChannel } from "discord.js"
const client = Illegitimate.client

View File

@@ -1,7 +1,7 @@
import { GuildMember, userMention } from "discord.js"
import { color } from "../../../../config/options.json"
import { Event } from "../../../interfaces"
import logToChannel from "../../../utils/functions/logtochannel"
import { color } from "@config/options.json"
import { Event } from "@interfaces"
import logToChannel from "@utils/functions/logtochannel"
export = {
name: "logNewJoins",

View File

@@ -1,6 +1,6 @@
import { ChatInputCommandInteraction, ButtonInteraction } from "discord.js"
import color from "../../../utils/functions/colors"
import { Event } from "../../../interfaces"
import color from "@utils/functions/colors"
import { Event } from "@interfaces"
export = {
name: "logBtnsCmds",

View File

@@ -1,4 +1,4 @@
import { Event } from "../../../interfaces"
import { Event } from "@interfaces"
import { Message } from "discord.js"
export = {

View File

@@ -1,8 +1,8 @@
import { ChannelType, Message } from "discord.js"
import { Event } from "../../../interfaces"
import snipeCacheSchema from "../../../schemas/snipeCacheSchema"
import { Event } from "@interfaces"
import snipeCacheSchema from "@schemas/snipeCacheSchema"
import mongoose from "mongoose"
import { SnipeCache } from "../../../utils/Types"
import { SnipeCache } from "@utils/Types"
export = {
name: "snipecache",

View File

@@ -1,6 +1,6 @@
import { Event } from "../../../interfaces"
import { ExtendedClient as Client } from "../../../utils/Client"
import color from "../../../utils/functions/colors"
import { Event } from "@interfaces"
import { ExtendedClient as Client } from "@utils/Client"
import color from "@utils/functions/colors"
export = {
name: "conolelog",

View File

@@ -1,6 +1,6 @@
import logToChannel from "../../../utils/functions/logtochannel"
import { Event } from "../../../interfaces"
import { color } from "../../../../config/options.json"
import logToChannel from "@utils/functions/logtochannel"
import { Event } from "@interfaces"
import { color } from "@config/options.json"
export = {
name: "sendonlinemessage",

View File

@@ -1,6 +1,6 @@
import statuses = require("../../../../config/statuses.json")
import { Event } from "../../../interfaces"
import { ExtendedClient as Client } from "../../../utils/Client"
import statuses = require("@config/statuses.json")
import { Event } from "@interfaces"
import { ExtendedClient as Client } from "@utils/Client"
export = {
name: "status",

View File

@@ -3,9 +3,9 @@ import {
channelMention,
VoiceState,
} from "discord.js"
import { color } from "../../../../config/options.json"
import { Event } from "../../../interfaces"
import logToChannel from "../../../utils/functions/logtochannel"
import { color } from "@config/options.json"
import { Event } from "@interfaces"
import logToChannel from "@utils/functions/logtochannel"
export = {
name: "vcJoinLeave",