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

@@ -4,10 +4,10 @@ import {
userMention,
GuildMember,
} from "discord.js"
import { admin, helper } from "../../config/roles.json"
import { color, devMessage } from "../../config/options.json"
import { Command } from "../interfaces"
import logToChannel from "../utils/functions/logtochannel"
import { admin, helper } from "@config/roles.json"
import { color, devMessage } from "@config/options.json"
import { Command } from "@interfaces"
import logToChannel from "@utils/functions/logtochannel"
export = {
name: "ban",

View File

@@ -7,8 +7,8 @@ import {
swkdr,
duelswins,
duelswlr,
} from "../../config/reqs.json"
import { color, devMessage } from "../../config/options.json"
} from "@config/reqs.json"
import { color, devMessage } from "@config/options.json"
import {
hypixelLevel,
bedwarsLevel,
@@ -17,8 +17,8 @@ import {
getPlayer,
getGuild,
getHeadURL,
} from "../utils/Hypixel"
import { Command } from "../interfaces"
} from "@utils/Hypixel"
import { Command } from "@interfaces"
export = {
name: "check",

View File

@@ -5,9 +5,9 @@ import {
channelMention,
userMention,
} from "discord.js"
import { color } from "../../config/options.json"
import { Command } from "../interfaces"
import logToChannel from "../utils/functions/logtochannel"
import { color } from "@config/options.json"
import { Command } from "@interfaces"
import logToChannel from "@utils/functions/logtochannel"
export = {
name: "clear",

View File

@@ -1,8 +1,8 @@
import { SlashCommandBuilder, PermissionFlagsBits } from "discord.js"
import { color } from "../../config/options.json"
import settings = require("../schemas/settingsSchema")
import mongoose = require("mongoose")
import { Command } from "../interfaces"
import { color } from "@config/options.json"
import settings from "@schemas/settingsSchema"
import mongoose from "mongoose"
import { Command } from "@interfaces"
export = {
name: "config",

View File

@@ -1,6 +1,6 @@
import { ChannelType, PermissionFlagsBits, SlashCommandBuilder } from "discord.js"
import { color, devMessage } from "../../config/options.json"
import { Command } from "../interfaces"
import { color, devMessage } from "@config/options.json"
import { Command } from "@interfaces"
import setup from "./counting/setup"
import ban from "./counting/ban"
import unban from "./counting/unban"

View File

@@ -3,8 +3,8 @@ import {
GuildMember,
userMention,
} from "discord.js"
import { countingBanned } from "../../../config/roles.json"
import { color, devMessage } from "../../../config/options.json"
import { countingBanned } from "@config/roles.json"
import { color, devMessage } from "@config/options.json"
export default async function ban(
interaction: ChatInputCommandInteraction,

View File

@@ -1,6 +1,6 @@
import { ChatInputCommandInteraction, TextChannel, channelMention } from "discord.js"
import settingsSchema from "../../schemas/settingsSchema"
import { color, devMessage } from "../../../config/options.json"
import settingsSchema from "@schemas/settingsSchema"
import { color, devMessage } from "@config/options.json"
import mongoose from "mongoose"
export default async function setup(interaction: ChatInputCommandInteraction): Promise<void> {

View File

@@ -3,8 +3,8 @@ import {
GuildMember,
userMention,
} from "discord.js"
import { countingBanned } from "../../../config/roles.json"
import { color, devMessage } from "../../../config/options.json"
import { countingBanned } from "@config/roles.json"
import { color, devMessage } from "@config/options.json"
export default async function ban(
interaction: ChatInputCommandInteraction,

View File

@@ -3,7 +3,7 @@ import {
PermissionFlagsBits,
ChatInputCommandInteraction,
} from "discord.js"
import { Command } from "../interfaces"
import { Command } from "@interfaces"
const command: Command = {
name: "dev-info",

View File

@@ -1,5 +1,5 @@
import { SlashCommandBuilder, PermissionFlagsBits } from "discord.js"
import { Command } from "../interfaces"
import { Command } from "@interfaces"
export = {
name: "devel",

View File

@@ -4,12 +4,12 @@ import {
userMention,
GuildMember,
} from "discord.js"
import { color, devMessage } from "../../config/options.json"
import verify = require("../schemas/verifySchema")
import { Command } from "../interfaces"
import roleManage from "../utils/functions/rolesmanage"
import logToChannel from "../utils/functions/logtochannel"
import { getIGN } from "../utils/Hypixel"
import { color, devMessage } from "@config/options.json"
import verify from "@schemas/verifySchema"
import { Command } from "@interfaces"
import roleManage from "@utils/functions/rolesmanage"
import logToChannel from "@utils/functions/logtochannel"
import { getIGN } from "@utils/Hypixel"
export = {
name: "forceunverify",

View File

@@ -4,11 +4,11 @@ import {
userMention,
GuildMember,
} from "discord.js"
import { getGuild, getHeadURL, getIGN } from "../utils/Hypixel"
import { hypixelGuildID, color, devMessage } from "../../config/options.json"
import verify = require("../schemas/verifySchema")
import { Command } from "../interfaces"
import roleManage from "../utils/functions/rolesmanage"
import { getGuild, getHeadURL, getIGN } from "@utils/Hypixel"
import { hypixelGuildID, color, devMessage } from "@config/options.json"
import verify from "@schemas/verifySchema"
import { Command } from "@interfaces"
import roleManage from "@utils/functions/rolesmanage"
export = {
name: "forceupdate",

View File

@@ -4,13 +4,13 @@ import {
GuildMember,
userMention,
} from "discord.js"
import { getUUID, getPlayer, getGuild, getHeadURL } from "../utils/Hypixel"
import { color, hypixelGuildID, devMessage } from "../../config/options.json"
import verify = require("../schemas/verifySchema")
import { getUUID, getPlayer, getGuild, getHeadURL } from "@utils/Hypixel"
import { color, hypixelGuildID, devMessage } from "@config/options.json"
import verify from "@schemas/verifySchema"
import mongoose from "mongoose"
import roleManage from "../utils/functions/rolesmanage"
import { Command } from "../interfaces"
import logToChannel from "../utils/functions/logtochannel"
import roleManage from "@utils/functions/rolesmanage"
import { Command } from "@interfaces"
import logToChannel from "@utils/functions/logtochannel"
export = {
name: "forceverify",

View File

@@ -1,6 +1,6 @@
import { SlashCommandBuilder } from "discord.js"
import { color, devMessage } from "../../config/options.json"
import { Command } from "../interfaces"
import { color, devMessage } from "@config/options.json"
import { Command } from "@interfaces"
import guildMember from "./guild/member"
import guildInfo from "./guild/info"
import guildTop from "./guild/top"

View File

@@ -4,10 +4,10 @@ import {
getPlayer,
getGuild,
guildLevel,
} from "../../utils/Hypixel"
import { color, devMessage } from "../../../config/options.json"
} from "@utils/Hypixel"
import { color, devMessage } from "@config/options.json"
import { ChatInputCommandInteraction } from "discord.js"
import { GuildData } from "../../interfaces/Guild"
import { GuildData } from "@interfaces"
export default async function guildInfo(
interaction: ChatInputCommandInteraction,

View File

@@ -1,5 +1,5 @@
import { getUUID, getPlayer, getGuild, getHeadURL } from "../../utils/Hypixel"
import { color, devMessage } from "../../../config/options.json"
import { getUUID, getPlayer, getGuild, getHeadURL } from "@utils/Hypixel"
import { color, devMessage } from "@config/options.json"
import { ChatInputCommandInteraction } from "discord.js"
export default async function guildMember(

View File

@@ -1,8 +1,8 @@
import { getUUID, getPlayer, getGuild, getIGN } from "../../utils/Hypixel"
import { color, devMessage } from "../../../config/options.json"
import { getUUID, getPlayer, getGuild, getIGN } from "@utils/Hypixel"
import { color, devMessage } from "@config/options.json"
import { ChannelType, ChatInputCommandInteraction } from "discord.js"
import { GuildData } from "../../interfaces/Guild"
import Illegitimate from "../../utils/Illegitimate"
import { GuildData } from "@interfaces"
import Illegitimate from "@utils/Illegitimate"
const redis = Illegitimate.redis
export default async function guildTop(

View File

@@ -1,6 +1,6 @@
import { SlashCommandBuilder } from "discord.js"
import { color, devMessage } from "../../config/options.json"
import { Command } from "../interfaces"
import { color, devMessage } from "@config/options.json"
import { Command } from "@interfaces"
export = {
name: "help",

View File

@@ -1,6 +1,6 @@
import { SlashCommandBuilder, PermissionFlagsBits } from "discord.js"
import { color, devMessage, instructionsgif } from "../../config/options.json"
import { Command } from "../interfaces"
import { color, devMessage, instructionsgif } from "@config/options.json"
import { Command } from "@interfaces"
export = {
name: "instructions",

View File

@@ -4,10 +4,10 @@ import {
userMention,
GuildMember,
} from "discord.js"
import { admin, helper } from "../../config/roles.json"
import { color, devMessage } from "../../config/options.json"
import { Command } from "../interfaces"
import logToChannel from "../utils/functions/logtochannel"
import { admin, helper } from "@config/roles.json"
import { color, devMessage } from "@config/options.json"
import { Command } from "@interfaces"
import logToChannel from "@utils/functions/logtochannel"
export = {
name: "kick",

View File

@@ -1,6 +1,6 @@
import { SlashCommandBuilder } from "discord.js"
import { color, devMessage } from "../../config/options.json"
import { Command } from "../interfaces"
import { color, devMessage } from "@config/options.json"
import { Command } from "@interfaces"
export = {
name: "ping",

View File

@@ -3,10 +3,10 @@ import {
PermissionFlagsBits,
userMention,
} from "discord.js"
import { color, devMessage } from "../../config/options.json"
import waitinglistSchema = require("../schemas/waitinglistSchema")
import { Command } from "../interfaces"
import logToChannel from "../utils/functions/logtochannel"
import { color, devMessage } from "@config/options.json"
import waitinglistSchema from "@schemas/waitinglistSchema"
import { Command } from "@interfaces"
import logToChannel from "@utils/functions/logtochannel"
export = {
name: "remove",

View File

@@ -1,5 +1,5 @@
import { SlashCommandBuilder } from "discord.js"
import { color, devMessage } from "../../config/options.json"
import { color, devMessage } from "@config/options.json"
import {
bwfkdr,
bwstars,
@@ -8,8 +8,8 @@ import {
swkdr,
duelswins,
duelswlr,
} from "../../config/reqs.json"
import { Command } from "../interfaces"
} from "@config/reqs.json"
import { Command } from "@interfaces"
export = {
name: "reqs",

View File

@@ -4,8 +4,8 @@ import {
ChannelType,
TextChannel,
} from "discord.js"
import { color, devMessage } from "../../config/options.json"
import { Command } from "../interfaces"
import { color, devMessage } from "@config/options.json"
import { Command } from "@interfaces"
export = {
name: "send",

View File

@@ -4,9 +4,9 @@ import {
userMention,
GuildMember,
} from "discord.js"
import { color, devMessage } from "../../config/options.json"
import { Command } from "../interfaces"
import logToChannel from "../utils/functions/logtochannel"
import { color, devMessage } from "@config/options.json"
import { Command } from "@interfaces"
import logToChannel from "@utils/functions/logtochannel"
export = {
name: "setnick",

View File

@@ -7,8 +7,8 @@ import {
ChannelType,
TextChannel,
} from "discord.js"
import { color, devMessage } from "../../config/options.json"
import { Command } from "../interfaces"
import { color, devMessage } from "@config/options.json"
import { Command } from "@interfaces"
export = {
name: "setup",

View File

@@ -6,9 +6,9 @@ import {
channelMention,
userMention,
} from "discord.js"
import { color, devMessage } from "../../config/options.json"
import { Command } from "../interfaces"
import logToChannel from "../utils/functions/logtochannel"
import { color, devMessage } from "@config/options.json"
import { Command } from "@interfaces"
import logToChannel from "@utils/functions/logtochannel"
export = {
name: "slowmode",

View File

@@ -1,8 +1,8 @@
import { GuildMember, SlashCommandBuilder } from "discord.js"
import snipeCacheSchema from "../schemas/snipeCacheSchema"
import Command from "../interfaces/Command"
import { color } from "../../config/options.json"
import { SnipeCache } from "../utils/Types"
import snipeCacheSchema from "@schemas/snipeCacheSchema"
import { Command } from "@interfaces"
import { color } from "@config/options.json"
import { SnipeCache } from "@utils/Types"
export = {
name: "snipe",

View File

@@ -1,6 +1,6 @@
import { SlashCommandBuilder, PermissionFlagsBits } from "discord.js"
import { color, devMessage } from "../../config/options.json"
import { Command } from "../interfaces"
import { color, devMessage } from "@config/options.json"
import { Command } from "@interfaces"
import help from "./staff/help"
import beast from "./staff/beast"
import updateDiscordRoles from "./staff/updatediscordroles"

View File

@@ -6,8 +6,8 @@ import {
beastswstars,
beastduelswins,
duelswlr,
} from "../../../config/reqs.json"
import { color, devMessage } from "../../../config/options.json"
} from "@config/reqs.json"
import { color, devMessage } from "@config/options.json"
import {
hypixelLevel,
bedwarsLevel,
@@ -16,7 +16,7 @@ import {
getPlayer,
getGuild,
getHeadURL,
} from "../../utils/Hypixel"
} from "@utils/Hypixel"
import { ChatInputCommandInteraction } from "discord.js"
export default async function beast(

View File

@@ -1,6 +1,6 @@
import { ChatInputCommandInteraction } from "discord.js"
import { color, devMessage } from "../../../config/options.json"
import { ExtendedClient as Client } from "../../utils/Client"
import { color, devMessage } from "@config/options.json"
import { ExtendedClient as Client } from "@utils/Client"
export default async function help(
interaction: ChatInputCommandInteraction,

View File

@@ -1,10 +1,10 @@
import verify = require("../../schemas/verifySchema")
import { color, hypixelGuildID } from "../../../config/options.json"
import roleManage from "../../utils/functions/rolesmanage"
import verify from "@schemas/verifySchema"
import { color, hypixelGuildID } from "@config/options.json"
import roleManage from "@utils/functions/rolesmanage"
import { ChatInputCommandInteraction, GuildMember } from "discord.js"
import env from "../../utils/Env"
import { getGuild } from "../../utils/Hypixel"
import { GuildData } from "../../interfaces"
import env from "@utils/Env"
import { getGuild } from "@utils/Hypixel"
import { GuildData } from "@interfaces"
export default async function updateDiscordRoles(
interaction: ChatInputCommandInteraction,

View File

@@ -5,10 +5,10 @@ import {
ChatInputCommandInteraction,
GuildMember,
} from "discord.js"
import { color, devMessage } from "../../config/options.json"
import { Command } from "../interfaces"
import { color, devMessage } from "@config/options.json"
import { Command } from "@interfaces"
import ms from "ms"
import logToChannel from "../utils/functions/logtochannel"
import logToChannel from "@utils/functions/logtochannel"
const command: Command = {
name: "timeout",

View File

@@ -4,9 +4,9 @@ import {
userMention,
User,
} from "discord.js"
import { color, devMessage } from "../../config/options.json"
import { Command } from "../interfaces"
import logToChannel from "../utils/functions/logtochannel"
import { color, devMessage } from "@config/options.json"
import { Command } from "@interfaces"
import logToChannel from "@utils/functions/logtochannel"
export = {
name: "unban",

View File

@@ -1,9 +1,9 @@
import { GuildMember, SlashCommandBuilder } from "discord.js"
import { getGuild, getIGN, getHeadURL } from "../utils/Hypixel"
import verify = require("../schemas/verifySchema")
import { color, hypixelGuildID, devMessage } from "../../config/options.json"
import roleManage from "../utils/functions/rolesmanage"
import { Command } from "../interfaces"
import { getGuild, getIGN, getHeadURL } from "@utils/Hypixel"
import verify from "@schemas/verifySchema"
import { color, hypixelGuildID, devMessage } from "@config/options.json"
import roleManage from "@utils/functions/rolesmanage"
import { Command } from "@interfaces"
export = {
name: "update",

View File

@@ -1,7 +1,7 @@
import { SlashCommandBuilder } from "discord.js"
import { color, devMessage } from "../../config/options.json"
import { getUUID, getIGN, getHeadURL, formatUuid } from "../utils/Hypixel"
import { Command } from "../interfaces"
import { color, devMessage } from "@config/options.json"
import { getUUID, getIGN, getHeadURL, formatUuid } from "@utils/Hypixel"
import { Command } from "@interfaces"
export = {
name: "uuid",

View File

@@ -1,12 +1,12 @@
import { GuildMember, SlashCommandBuilder } from "discord.js"
import { getUUID, getPlayer, getGuild, getHeadURL } from "../utils/Hypixel"
import { color, hypixelGuildID, devMessage } from "../../config/options.json"
import { getUUID, getPlayer, getGuild, getHeadURL } from "@utils/Hypixel"
import { color, hypixelGuildID, devMessage } from "@config/options.json"
import mongoose from "mongoose"
import roleManage from "../utils/functions/rolesmanage"
import { Command } from "../interfaces"
import verify = require("../schemas/verifySchema")
import { PlayerData } from "../interfaces/Player"
import { GuildData } from "../interfaces/Guild"
import roleManage from "@utils/functions/rolesmanage"
import { Command } from "@interfaces"
import verify from "@schemas/verifySchema"
import { PlayerData } from "@interfaces"
import { GuildData } from "@interfaces"
export = {
name: "verify",

View File

@@ -1,8 +1,8 @@
import { SlashCommandBuilder, userMention } from "discord.js"
import { Command } from "../interfaces"
import { color, devMessage } from "../../config/options.json"
import verify from "../schemas/verifySchema"
import { getIGN, getHeadURL } from "../utils/Hypixel"
import { Command } from "@interfaces"
import { color, devMessage } from "@config/options.json"
import verify from "@schemas/verifySchema"
import { getIGN, getHeadURL } from "@utils/Hypixel"
export = {
name: "whoami",

View File

@@ -3,10 +3,10 @@ import {
PermissionFlagsBits,
userMention,
} from "discord.js"
import { getIGN, getHeadURL } from "../utils/Hypixel"
import { color, devMessage } from "../../config/options.json"
import verify = require("../schemas/verifySchema")
import { Command } from "../interfaces"
import { getIGN, getHeadURL } from "@utils/Hypixel"
import { color, devMessage } from "@config/options.json"
import verify from "@schemas/verifySchema"
import { Command } from "@interfaces"
export = {
name: "whois",