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,7 +1,7 @@
import { anilist } from "anilist"
import { devMessage, embedColor } from "config/options.js"
import { InteractionContextType, SlashCommandBuilder } from "discord.js"
import { ICommand } from "interfaces"
import { devMessage, embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
export default {
name: "anime",

View File

@@ -1,8 +1,8 @@
import { devMessage, embedColor } from "config/options.js"
import { admin, helper } from "config/roles.js"
import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
import { ICommand } from "interfaces"
import logToChannel from "utils/functions/logtochannel.js"
import { devMessage, embedColor } from "~/config/options.js"
import { admin, helper } from "~/config/roles.js"
import { ICommand } from "~/interfaces"
import logToChannel from "~/utils/functions/logtochannel.js"
export default {
name: "ban",

View File

@@ -1,10 +1,10 @@
import { execSync } from "child_process"
import { devMessage, embedColor } from "config/options.js"
import { InteractionContextType, SlashCommandBuilder } from "discord.js"
import { ICommand } from "interfaces"
import { createRequire } from "node:module"
import os from "os"
import prettyMs from "pretty-ms"
import { devMessage, embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
const require = createRequire(import.meta.url)
const { dependencies, devDependencies } = require("../../package.json")

View File

@@ -1,8 +1,8 @@
import { devMessage, embedColor } from "config/options.js"
import { bwfkdr, bwstars, bwwins, duelswins, duelswlr, swkdr, swstars } from "config/reqs.js"
import { InteractionContextType, SlashCommandBuilder } from "discord.js"
import { ICommand } from "interfaces"
import { bedwarsLevel, getGuild, getHeadURL, getPlayer, getUUID, hypixelLevel, skywarsLevel } from "utils/Hypixel.js"
import { devMessage, embedColor } from "~/config/options.js"
import { bwfkdr, bwstars, bwwins, duelswins, duelswlr, swkdr, swstars } from "~/config/reqs.js"
import { ICommand } from "~/interfaces"
import { bedwarsLevel, getGuild, getHeadURL, getPlayer, getUUID, hypixelLevel, skywarsLevel } from "~/utils/Hypixel.js"
export default {
name: "check",

View File

@@ -1,7 +1,7 @@
import { embedColor } from "config/options.js"
import { channelMention, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, TextChannel, userMention } from "discord.js"
import { ICommand } from "interfaces"
import logToChannel from "utils/functions/logtochannel.js"
import { embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
import logToChannel from "~/utils/functions/logtochannel.js"
export default {
name: "clear",

View File

@@ -1,9 +1,9 @@
import { embedColor } from "config/options.js"
import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder } from "discord.js"
import { eq } from "drizzle-orm"
import { ICommand } from "interfaces"
import db from "src/drizzle/db.js"
import { settings } from "src/drizzle/schema.js"
import { embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
export default {
name: "config",

View File

@@ -1,6 +1,6 @@
import { devMessage, embedColor } from "config/options.js"
import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder } from "discord.js"
import { ICommand } from "interfaces"
import { devMessage, embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
import ban from "./counting/ban.js"
import unban from "./counting/unban.js"

View File

@@ -1,6 +1,6 @@
import { devMessage, embedColor } from "config/options.js"
import { countingBanned } from "config/roles.js"
import { ChatInputCommandInteraction, GuildMember, userMention } from "discord.js"
import { devMessage, embedColor } from "~/config/options.js"
import { countingBanned } from "~/config/roles.js"
export default async function ban(interaction: ChatInputCommandInteraction): Promise<void> {
const member = interaction.options.getMember("user")! as GuildMember

View File

@@ -1,6 +1,6 @@
import { devMessage, embedColor } from "config/options.js"
import { countingBanned } from "config/roles.js"
import { ChatInputCommandInteraction, GuildMember, userMention } from "discord.js"
import { devMessage, embedColor } from "~/config/options.js"
import { countingBanned } from "~/config/roles.js"
export default async function ban(interaction: ChatInputCommandInteraction): Promise<void> {
const member = interaction.options.getMember("user")! as GuildMember

View File

@@ -1,8 +1,8 @@
import { devMessage, embedColor } from "config/options.js"
import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
import { ICommand } from "interfaces"
import db from "src/drizzle/db.js"
import { getHeadURL, getIGN, getUUID } from "utils/Hypixel.js"
import { devMessage, embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
import { getHeadURL, getIGN, getUUID } from "~/utils/Hypixel.js"
export default {
name: "find",

View File

@@ -1,12 +1,12 @@
import { devMessage, embedColor } from "config/options.js"
import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
import { eq } from "drizzle-orm"
import { ICommand } from "interfaces"
import db from "src/drizzle/db.js"
import { verifies } from "src/drizzle/schema.js"
import logToChannel from "utils/functions/logtochannel.js"
import roleManage from "utils/functions/rolesmanage.js"
import { getIGN } from "utils/Hypixel.js"
import { devMessage, embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
import logToChannel from "~/utils/functions/logtochannel.js"
import roleManage from "~/utils/functions/rolesmanage.js"
import { getIGN } from "~/utils/Hypixel.js"
export default {
name: "forceunverify",

View File

@@ -1,10 +1,10 @@
import { devMessage, embedColor, hypixelGuildID } from "config/options.js"
import { waitingListRole } from "config/roles.js"
import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
import { ICommand } from "interfaces"
import db from "src/drizzle/db.js"
import roleManage from "utils/functions/rolesmanage.js"
import { getGuild, getHeadURL, getIGN } from "utils/Hypixel.js"
import { devMessage, embedColor, hypixelGuildID } from "~/config/options.js"
import { waitingListRole } from "~/config/roles.js"
import { ICommand } from "~/interfaces"
import roleManage from "~/utils/functions/rolesmanage.js"
import { getGuild, getHeadURL, getIGN } from "~/utils/Hypixel.js"
export default {
name: "forceupdate",

View File

@@ -1,11 +1,11 @@
import { devMessage, embedColor, hypixelGuildID } from "config/options.js"
import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
import { ICommand } from "interfaces"
import db from "src/drizzle/db.js"
import { verifies } from "src/drizzle/schema.js"
import logToChannel from "utils/functions/logtochannel.js"
import roleManage from "utils/functions/rolesmanage.js"
import { getGuild, getHeadURL, getPlayer, getUUID } from "utils/Hypixel.js"
import { devMessage, embedColor, hypixelGuildID } from "~/config/options.js"
import { ICommand } from "~/interfaces"
import logToChannel from "~/utils/functions/logtochannel.js"
import roleManage from "~/utils/functions/rolesmanage.js"
import { getGuild, getHeadURL, getPlayer, getUUID } from "~/utils/Hypixel.js"
export default {
name: "forceverify",

View File

@@ -1,6 +1,6 @@
import { devMessage, embedColor } from "config/options.js"
import { InteractionContextType, SlashCommandBuilder } from "discord.js"
import { ICommand } from "interfaces"
import { devMessage, embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
import guildInfo from "./guild/info.js"
import guildMember from "./guild/member.js"
import guildTop from "./guild/top.js"

View File

@@ -1,7 +1,7 @@
import { devMessage, embedColor } from "config/options.js"
import { ChatInputCommandInteraction } from "discord.js"
import { IGuildData } from "interfaces"
import { getGuild, getIGN, getPlayer, getUUID, guildLevel } from "utils/Hypixel.js"
import { devMessage, embedColor } from "~/config/options.js"
import { IGuildData } from "~/interfaces"
import { getGuild, getIGN, getPlayer, getUUID, guildLevel } from "~/utils/Hypixel.js"
export default async function guildInfo(interaction: ChatInputCommandInteraction): Promise<void> {
await interaction.deferReply()

View File

@@ -1,6 +1,6 @@
import { devMessage, embedColor } from "config/options.js"
import { ChatInputCommandInteraction } from "discord.js"
import { getGuild, getHeadURL, getPlayer, getUUID } from "utils/Hypixel.js"
import { devMessage, embedColor } from "~/config/options.js"
import { getGuild, getHeadURL, getPlayer, getUUID } from "~/utils/Hypixel.js"
export default async function guildMember(interaction: ChatInputCommandInteraction): Promise<void> {
await interaction.deferReply()

View File

@@ -1,8 +1,8 @@
import { devMessage, embedColor } from "config/options.js"
import { ChatInputCommandInteraction } from "discord.js"
import { IGuildData } from "interfaces"
import { getGuild, getIGN, getPlayer, getUUID } from "utils/Hypixel.js"
import { redis } from "utils/Illegitimate.js"
import { devMessage, embedColor } from "~/config/options.js"
import { IGuildData } from "~/interfaces"
import { getGuild, getIGN, getPlayer, getUUID } from "~/utils/Hypixel.js"
import { redis } from "~/utils/Illegitimate.js"
export default async function guildTop(interaction: ChatInputCommandInteraction): Promise<void> {
await interaction.deferReply()

View File

@@ -1,6 +1,6 @@
import { devMessage, embedColor } from "config/options.js"
import { ActionRowBuilder, ButtonBuilder, ButtonStyle, ComponentType, InteractionContextType, SlashCommandBuilder } from "discord.js"
import { ICommand } from "interfaces"
import { devMessage, embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
export default {
name: "help",

View File

@@ -1,6 +1,6 @@
import { devMessage, embedColor, instructionsgif } from "config/options.js"
import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder } from "discord.js"
import { ICommand } from "interfaces"
import { devMessage, embedColor, instructionsgif } from "~/config/options.js"
import { ICommand } from "~/interfaces"
export default {
name: "instructions",

View File

@@ -1,8 +1,8 @@
import { devMessage, embedColor } from "config/options.js"
import { admin, helper } from "config/roles.js"
import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
import { ICommand } from "interfaces"
import logToChannel from "utils/functions/logtochannel.js"
import { devMessage, embedColor } from "~/config/options.js"
import { admin, helper } from "~/config/roles.js"
import { ICommand } from "~/interfaces"
import logToChannel from "~/utils/functions/logtochannel.js"
export default {
name: "kick",

View File

@@ -1,5 +1,5 @@
import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder } from "discord.js"
import { ICommand } from "interfaces"
import { ICommand } from "~/interfaces"
import leave from "./music/leave.js"
import nowplaying from "./music/nowplaying.js"
import pause from "./music/pause.js"

View File

@@ -1,6 +1,6 @@
import { embedColor } from "config/options.js"
import { useMainPlayer } from "discord-player"
import { ChatInputCommandInteraction } from "discord.js"
import { embedColor } from "~/config/options.js"
export default async function leave(interaction: ChatInputCommandInteraction) {
const player = useMainPlayer()

View File

@@ -1,6 +1,6 @@
import { embedColor } from "config/options.js"
import { useMainPlayer } from "discord-player"
import { ChatInputCommandInteraction } from "discord.js"
import { embedColor } from "~/config/options.js"
export default async function nowplaying(interaction: ChatInputCommandInteraction) {
await interaction.deferReply()

View File

@@ -1,6 +1,6 @@
import { embedColor } from "config/options.js"
import { useMainPlayer } from "discord-player"
import { ChatInputCommandInteraction } from "discord.js"
import { embedColor } from "~/config/options.js"
export default async function pause(interaction: ChatInputCommandInteraction) {
await interaction.deferReply()

View File

@@ -1,6 +1,6 @@
import { embedColor } from "config/options.js"
import { useMainPlayer } from "discord-player"
import { ChatInputCommandInteraction, GuildMember } from "discord.js"
import { embedColor } from "~/config/options.js"
export default async function play(interaction: ChatInputCommandInteraction) {
await interaction.deferReply()

View File

@@ -1,6 +1,6 @@
import { embedColor } from "config/options.js"
import { useMainPlayer } from "discord-player"
import { ChatInputCommandInteraction } from "discord.js"
import { embedColor } from "~/config/options.js"
export default async function queue(interaction: ChatInputCommandInteraction) {
await interaction.deferReply()

View File

@@ -1,6 +1,6 @@
import { embedColor } from "config/options.js"
import { useMainPlayer } from "discord-player"
import { ChatInputCommandInteraction } from "discord.js"
import { embedColor } from "~/config/options.js"
export default async function skip(interaction: ChatInputCommandInteraction) {
await interaction.deferReply()

View File

@@ -1,6 +1,6 @@
import { embedColor } from "config/options.js"
import { useMainPlayer } from "discord-player"
import { ChatInputCommandInteraction } from "discord.js"
import { embedColor } from "~/config/options.js"
export default async function pause(interaction: ChatInputCommandInteraction) {
await interaction.deferReply()

View File

@@ -1,6 +1,6 @@
import { embedColor } from "config/options.js"
import { useMainPlayer } from "discord-player"
import { ChatInputCommandInteraction } from "discord.js"
import { embedColor } from "~/config/options.js"
export default async function volume(interaction: ChatInputCommandInteraction) {
await interaction.deferReply()

View File

@@ -1,6 +1,6 @@
import { devMessage, embedColor } from "config/options.js"
import { InteractionContextType, SlashCommandBuilder } from "discord.js"
import { ICommand } from "interfaces"
import { devMessage, embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
export default {
name: "ping",

View File

@@ -1,7 +1,7 @@
import { embedColor } from "config/options.js"
import { InteractionContextType, SlashCommandBuilder, User } from "discord.js"
import { ICommand } from "interfaces"
import env from "utils/Env.js"
import { embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
import env from "~/utils/Env.js"
export default {
name: "pp",

View File

@@ -1,11 +1,11 @@
import { devMessage, embedColor } from "config/options.js"
import { waitingListRole } from "config/roles.js"
import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
import { eq } from "drizzle-orm"
import { ICommand } from "interfaces"
import db from "src/drizzle/db.js"
import { waitingLists } from "src/drizzle/schema.js"
import logToChannel from "utils/functions/logtochannel.js"
import { devMessage, embedColor } from "~/config/options.js"
import { waitingListRole } from "~/config/roles.js"
import { ICommand } from "~/interfaces"
import logToChannel from "~/utils/functions/logtochannel.js"
export default {
name: "remove",

View File

@@ -1,7 +1,7 @@
import { devMessage, embedColor } from "config/options.js"
import { bwfkdr, bwstars, bwwins, duelswins, duelswlr, swkdr, swstars } from "config/reqs.js"
import { InteractionContextType, SlashCommandBuilder } from "discord.js"
import { ICommand } from "interfaces"
import { devMessage, embedColor } from "~/config/options.js"
import { bwfkdr, bwstars, bwwins, duelswins, duelswlr, swkdr, swstars } from "~/config/reqs.js"
import { ICommand } from "~/interfaces"
export default {
name: "reqs",

View File

@@ -1,6 +1,6 @@
import { devMessage, embedColor } from "config/options.js"
import { ChannelType, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, TextChannel } from "discord.js"
import { ICommand } from "interfaces"
import { devMessage, embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
export default {
name: "send",

View File

@@ -1,7 +1,7 @@
import { devMessage, embedColor } from "config/options.js"
import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
import { ICommand } from "interfaces"
import logToChannel from "utils/functions/logtochannel.js"
import { devMessage, embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
import logToChannel from "~/utils/functions/logtochannel.js"
export default {
name: "setnick",

View File

@@ -1,4 +1,3 @@
import { devMessage, embedColor } from "config/options.js"
import {
ActionRowBuilder,
ButtonBuilder,
@@ -9,7 +8,8 @@ import {
SlashCommandBuilder,
TextChannel
} from "discord.js"
import { ICommand } from "interfaces"
import { devMessage, embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
export default {
name: "setup",

View File

@@ -1,7 +1,7 @@
import { devMessage, embedColor } from "config/options.js"
import { channelMention, ChannelType, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, TextChannel, userMention } from "discord.js"
import { ICommand } from "interfaces"
import logToChannel from "utils/functions/logtochannel.js"
import { devMessage, embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
import logToChannel from "~/utils/functions/logtochannel.js"
export default {
name: "slowmode",

View File

@@ -1,6 +1,6 @@
import { devMessage, embedColor } from "config/options.js"
import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder } from "discord.js"
import { ICommand } from "interfaces"
import { devMessage, embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
import beast from "./staff/beast.js"
import help from "./staff/help.js"
import prune from "./staff/prune.js"

View File

@@ -1,7 +1,7 @@
import { devMessage, embedColor } from "config/options.js"
import { beastbwfkdr, beastbwstars, beastduelswins, beastswkdr, beastswstars, bwwins, duelswlr } from "config/reqs.js"
import { ChatInputCommandInteraction } from "discord.js"
import { bedwarsLevel, getGuild, getHeadURL, getPlayer, getUUID, hypixelLevel, skywarsLevel } from "utils/Hypixel.js"
import { devMessage, embedColor } from "~/config/options.js"
import { beastbwfkdr, beastbwstars, beastduelswins, beastswkdr, beastswstars, bwwins, duelswlr } from "~/config/reqs.js"
import { bedwarsLevel, getGuild, getHeadURL, getPlayer, getUUID, hypixelLevel, skywarsLevel } from "~/utils/Hypixel.js"
export default async function beast(interaction: ChatInputCommandInteraction): Promise<void> {
await interaction.deferReply()

View File

@@ -1,6 +1,6 @@
import { devMessage, embedColor } from "config/options.js"
import { ActionRowBuilder, ButtonBuilder, ButtonStyle, ChatInputCommandInteraction, ComponentType } from "discord.js"
import { ExtendedClient as Client } from "utils/Client.js"
import { devMessage, embedColor } from "~/config/options.js"
import { ExtendedClient as Client } from "~/utils/Client.js"
export default async function help(interaction: ChatInputCommandInteraction, client: Client): Promise<void> {
await interaction.deferReply()

View File

@@ -1,6 +1,6 @@
import { devMessage, embedColor } from "config/options.js"
import { ActionRowBuilder, ButtonBuilder, ButtonInteraction, ButtonStyle, ChatInputCommandInteraction, ComponentType } from "discord.js"
import env from "utils/Env.js"
import { devMessage, embedColor } from "~/config/options.js"
import env from "~/utils/Env.js"
export default async function prune(interaction: ChatInputCommandInteraction): Promise<void> {
await interaction.deferReply()

View File

@@ -1,10 +1,10 @@
import { embedColor, hypixelGuildID } from "config/options.js"
import { ChatInputCommandInteraction, GuildMember } from "discord.js"
import { IGuildData } from "interfaces"
import db from "src/drizzle/db.js"
import env from "utils/Env.js"
import roleManage from "utils/functions/rolesmanage.js"
import { getGuild } from "utils/Hypixel.js"
import { embedColor, hypixelGuildID } from "~/config/options.js"
import { IGuildData } from "~/interfaces"
import env from "~/utils/Env.js"
import roleManage from "~/utils/functions/rolesmanage.js"
import { getGuild } from "~/utils/Hypixel.js"
export default async function removeGuildRoles(interaction: ChatInputCommandInteraction): Promise<void> {
await interaction.deferReply()

View File

@@ -1,11 +1,11 @@
import { embedColor, hypixelGuildID } from "config/options.js"
import { ChannelType, ChatInputCommandInteraction, GuildMember } from "discord.js"
import { IGuildData } from "interfaces"
import db from "src/drizzle/db.js"
import env from "utils/Env.js"
import { color } from "utils/functions/colors.js"
import roleManage from "utils/functions/rolesmanage.js"
import { getGuild, getIGN } from "utils/Hypixel.js"
import { embedColor, hypixelGuildID } from "~/config/options.js"
import { IGuildData } from "~/interfaces"
import env from "~/utils/Env.js"
import { color } from "~/utils/functions/colors.js"
import roleManage from "~/utils/functions/rolesmanage.js"
import { getGuild, getIGN } from "~/utils/Hypixel.js"
export default async function updateAll(interaction: ChatInputCommandInteraction): Promise<void> {
await interaction.deferReply()

View File

@@ -1,9 +1,9 @@
import { devMessage, embedColor } from "config/options.js"
import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
import { ICommand } from "interfaces"
import ms from "ms"
import prettyMs from "pretty-ms"
import logToChannel from "utils/functions/logtochannel.js"
import { devMessage, embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
import logToChannel from "~/utils/functions/logtochannel.js"
export default {
name: "timeout",

View File

@@ -1,7 +1,7 @@
import { devMessage, embedColor } from "config/options.js"
import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, User, userMention } from "discord.js"
import { ICommand } from "interfaces"
import logToChannel from "utils/functions/logtochannel.js"
import { devMessage, embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
import logToChannel from "~/utils/functions/logtochannel.js"
export default {
name: "unban",

View File

@@ -1,10 +1,10 @@
import { devMessage, embedColor, hypixelGuildID } from "config/options.js"
import { waitingListRole } from "config/roles.js"
import { GuildMember, InteractionContextType, SlashCommandBuilder } from "discord.js"
import { ICommand } from "interfaces"
import db from "src/drizzle/db.js"
import roleManage from "utils/functions/rolesmanage.js"
import { getGuild, getHeadURL, getIGN } from "utils/Hypixel.js"
import { devMessage, embedColor, hypixelGuildID } from "~/config/options.js"
import { waitingListRole } from "~/config/roles.js"
import { ICommand } from "~/interfaces"
import roleManage from "~/utils/functions/rolesmanage.js"
import { getGuild, getHeadURL, getIGN } from "~/utils/Hypixel.js"
export default {
name: "update",

View File

@@ -1,7 +1,7 @@
import { devMessage, embedColor } from "config/options.js"
import { InteractionContextType, SlashCommandBuilder } from "discord.js"
import { ICommand } from "interfaces"
import { formatUuid, getHeadURL, getIGN, getUUID } from "utils/Hypixel.js"
import { devMessage, embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
import { formatUuid, getHeadURL, getIGN, getUUID } from "~/utils/Hypixel.js"
export default {
name: "uuid",

View File

@@ -1,12 +1,12 @@
import { devMessage, embedColor, hypixelGuildID } from "config/options.js"
import { GuildMember, InteractionContextType, SlashCommandBuilder } from "discord.js"
import { ICommand } from "interfaces"
import { IPlayerData } from "interfaces"
import { IGuildData } from "interfaces"
import db from "src/drizzle/db.js"
import { verifies } from "src/drizzle/schema.js"
import roleManage from "utils/functions/rolesmanage.js"
import { getGuild, getHeadURL, getPlayer, getUUID } from "utils/Hypixel.js"
import { devMessage, embedColor, hypixelGuildID } from "~/config/options.js"
import { ICommand } from "~/interfaces"
import { IPlayerData } from "~/interfaces"
import { IGuildData } from "~/interfaces"
import roleManage from "~/utils/functions/rolesmanage.js"
import { getGuild, getHeadURL, getPlayer, getUUID } from "~/utils/Hypixel.js"
export default {
name: "verify",

View File

@@ -1,8 +1,8 @@
import { devMessage, embedColor } from "config/options.js"
import { InteractionContextType, SlashCommandBuilder, userMention } from "discord.js"
import { ICommand } from "interfaces"
import db from "src/drizzle/db.js"
import { getHeadURL, getIGN } from "utils/Hypixel.js"
import { devMessage, embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
import { getHeadURL, getIGN } from "~/utils/Hypixel.js"
export default {
name: "whoami",

View File

@@ -1,8 +1,8 @@
import { devMessage, embedColor } from "config/options.js"
import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
import { ICommand } from "interfaces"
import db from "src/drizzle/db.js"
import { getHeadURL, getIGN } from "utils/Hypixel.js"
import { devMessage, embedColor } from "~/config/options.js"
import { ICommand } from "~/interfaces"
import { getHeadURL, getIGN } from "~/utils/Hypixel.js"
export default {
name: "whois",