Updated function folder name
This commit is contained in:
@@ -3,7 +3,7 @@ import db from "src/drizzle/db.js"
|
|||||||
import { devMessage, embedColor, hypixelGuildID } from "~/config/options.js"
|
import { devMessage, embedColor, hypixelGuildID } from "~/config/options.js"
|
||||||
import { waitingListRole } from "~/config/roles.js"
|
import { waitingListRole } from "~/config/roles.js"
|
||||||
import { IContextMenu } from "~/interfaces"
|
import { IContextMenu } from "~/interfaces"
|
||||||
import roleManage from "~/utils/functions/rolesmanage.js"
|
import roleManage from "~/utils/Functions/rolesmanage.js"
|
||||||
import { getGuild, getHeadURL, getIGN } from "~/utils/Hypixel.js"
|
import { getGuild, getHeadURL, getIGN } from "~/utils/Hypixel.js"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandB
|
|||||||
import { devMessage, embedColor } from "~/config/options.js"
|
import { devMessage, embedColor } from "~/config/options.js"
|
||||||
import { admin, helper } from "~/config/roles.js"
|
import { admin, helper } from "~/config/roles.js"
|
||||||
import { ICommand } from "~/interfaces"
|
import { ICommand } from "~/interfaces"
|
||||||
import logToChannel from "~/utils/functions/logtochannel.js"
|
import logToChannel from "~/utils/Functions/logtochannel.js"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "ban",
|
name: "ban",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { channelMention, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, TextChannel, userMention } from "discord.js"
|
import { channelMention, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, TextChannel, userMention } from "discord.js"
|
||||||
import { embedColor } from "~/config/options.js"
|
import { embedColor } from "~/config/options.js"
|
||||||
import { ICommand } from "~/interfaces"
|
import { ICommand } from "~/interfaces"
|
||||||
import logToChannel from "~/utils/functions/logtochannel.js"
|
import logToChannel from "~/utils/Functions/logtochannel.js"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "clear",
|
name: "clear",
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ import db from "src/drizzle/db.js"
|
|||||||
import { verifies } from "src/drizzle/schema.js"
|
import { verifies } from "src/drizzle/schema.js"
|
||||||
import { devMessage, embedColor } from "~/config/options.js"
|
import { devMessage, embedColor } from "~/config/options.js"
|
||||||
import { ICommand } from "~/interfaces"
|
import { ICommand } from "~/interfaces"
|
||||||
import logToChannel from "~/utils/functions/logtochannel.js"
|
import logToChannel from "~/utils/Functions/logtochannel.js"
|
||||||
import roleManage from "~/utils/functions/rolesmanage.js"
|
import roleManage from "~/utils/Functions/rolesmanage.js"
|
||||||
import { getIGN } from "~/utils/Hypixel.js"
|
import { getIGN } from "~/utils/Hypixel.js"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import db from "src/drizzle/db.js"
|
|||||||
import { devMessage, embedColor, hypixelGuildID } from "~/config/options.js"
|
import { devMessage, embedColor, hypixelGuildID } from "~/config/options.js"
|
||||||
import { waitingListRole } from "~/config/roles.js"
|
import { waitingListRole } from "~/config/roles.js"
|
||||||
import { ICommand } from "~/interfaces"
|
import { ICommand } from "~/interfaces"
|
||||||
import roleManage from "~/utils/functions/rolesmanage.js"
|
import roleManage from "~/utils/Functions/rolesmanage.js"
|
||||||
import { getGuild, getHeadURL, getIGN } from "~/utils/Hypixel.js"
|
import { getGuild, getHeadURL, getIGN } from "~/utils/Hypixel.js"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@@ -3,8 +3,8 @@ import db from "src/drizzle/db.js"
|
|||||||
import { verifies } from "src/drizzle/schema.js"
|
import { verifies } from "src/drizzle/schema.js"
|
||||||
import { devMessage, embedColor, hypixelGuildID } from "~/config/options.js"
|
import { devMessage, embedColor, hypixelGuildID } from "~/config/options.js"
|
||||||
import { ICommand } from "~/interfaces"
|
import { ICommand } from "~/interfaces"
|
||||||
import logToChannel from "~/utils/functions/logtochannel.js"
|
import logToChannel from "~/utils/Functions/logtochannel.js"
|
||||||
import roleManage from "~/utils/functions/rolesmanage.js"
|
import roleManage from "~/utils/Functions/rolesmanage.js"
|
||||||
import { getGuild, getHeadURL, getPlayer, getUUID } from "~/utils/Hypixel.js"
|
import { getGuild, getHeadURL, getPlayer, getUUID } from "~/utils/Hypixel.js"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandB
|
|||||||
import { devMessage, embedColor } from "~/config/options.js"
|
import { devMessage, embedColor } from "~/config/options.js"
|
||||||
import { admin, helper } from "~/config/roles.js"
|
import { admin, helper } from "~/config/roles.js"
|
||||||
import { ICommand } from "~/interfaces"
|
import { ICommand } from "~/interfaces"
|
||||||
import logToChannel from "~/utils/functions/logtochannel.js"
|
import logToChannel from "~/utils/Functions/logtochannel.js"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "kick",
|
name: "kick",
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import { waitingLists } from "src/drizzle/schema.js"
|
|||||||
import { devMessage, embedColor } from "~/config/options.js"
|
import { devMessage, embedColor } from "~/config/options.js"
|
||||||
import { waitingListRole } from "~/config/roles.js"
|
import { waitingListRole } from "~/config/roles.js"
|
||||||
import { ICommand } from "~/interfaces"
|
import { ICommand } from "~/interfaces"
|
||||||
import logToChannel from "~/utils/functions/logtochannel.js"
|
import logToChannel from "~/utils/Functions/logtochannel.js"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "remove",
|
name: "remove",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
|
import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
|
||||||
import { devMessage, embedColor } from "~/config/options.js"
|
import { devMessage, embedColor } from "~/config/options.js"
|
||||||
import { ICommand } from "~/interfaces"
|
import { ICommand } from "~/interfaces"
|
||||||
import logToChannel from "~/utils/functions/logtochannel.js"
|
import logToChannel from "~/utils/Functions/logtochannel.js"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "setnick",
|
name: "setnick",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { channelMention, ChannelType, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, TextChannel, userMention } from "discord.js"
|
import { channelMention, ChannelType, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, TextChannel, userMention } from "discord.js"
|
||||||
import { devMessage, embedColor } from "~/config/options.js"
|
import { devMessage, embedColor } from "~/config/options.js"
|
||||||
import { ICommand } from "~/interfaces"
|
import { ICommand } from "~/interfaces"
|
||||||
import logToChannel from "~/utils/functions/logtochannel.js"
|
import logToChannel from "~/utils/Functions/logtochannel.js"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "slowmode",
|
name: "slowmode",
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import db from "src/drizzle/db.js"
|
|||||||
import { embedColor, hypixelGuildID } from "~/config/options.js"
|
import { embedColor, hypixelGuildID } from "~/config/options.js"
|
||||||
import { IGuildData } from "~/interfaces"
|
import { IGuildData } from "~/interfaces"
|
||||||
import env from "~/utils/Env.js"
|
import env from "~/utils/Env.js"
|
||||||
import roleManage from "~/utils/functions/rolesmanage.js"
|
import roleManage from "~/utils/Functions/rolesmanage.js"
|
||||||
import { getGuild } from "~/utils/Hypixel.js"
|
import { getGuild } from "~/utils/Hypixel.js"
|
||||||
|
|
||||||
export default async function removeGuildRoles(interaction: ChatInputCommandInteraction): Promise<void> {
|
export default async function removeGuildRoles(interaction: ChatInputCommandInteraction): Promise<void> {
|
||||||
|
|||||||
@@ -3,8 +3,8 @@ import db from "src/drizzle/db.js"
|
|||||||
import { embedColor, hypixelGuildID } from "~/config/options.js"
|
import { embedColor, hypixelGuildID } from "~/config/options.js"
|
||||||
import { IGuildData } from "~/interfaces"
|
import { IGuildData } from "~/interfaces"
|
||||||
import env from "~/utils/Env.js"
|
import env from "~/utils/Env.js"
|
||||||
import { color } from "~/utils/functions/colors.js"
|
import { color } from "~/utils/Functions/colors.js"
|
||||||
import roleManage from "~/utils/functions/rolesmanage.js"
|
import roleManage from "~/utils/Functions/rolesmanage.js"
|
||||||
import { getGuild, getIGN } from "~/utils/Hypixel.js"
|
import { getGuild, getIGN } from "~/utils/Hypixel.js"
|
||||||
|
|
||||||
export default async function updateAll(interaction: ChatInputCommandInteraction): Promise<void> {
|
export default async function updateAll(interaction: ChatInputCommandInteraction): Promise<void> {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import ms from "ms"
|
|||||||
import prettyMs from "pretty-ms"
|
import prettyMs from "pretty-ms"
|
||||||
import { devMessage, embedColor } from "~/config/options.js"
|
import { devMessage, embedColor } from "~/config/options.js"
|
||||||
import { ICommand } from "~/interfaces"
|
import { ICommand } from "~/interfaces"
|
||||||
import logToChannel from "~/utils/functions/logtochannel.js"
|
import logToChannel from "~/utils/Functions/logtochannel.js"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "timeout",
|
name: "timeout",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, User, userMention } from "discord.js"
|
import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, User, userMention } from "discord.js"
|
||||||
import { devMessage, embedColor } from "~/config/options.js"
|
import { devMessage, embedColor } from "~/config/options.js"
|
||||||
import { ICommand } from "~/interfaces"
|
import { ICommand } from "~/interfaces"
|
||||||
import logToChannel from "~/utils/functions/logtochannel.js"
|
import logToChannel from "~/utils/Functions/logtochannel.js"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "unban",
|
name: "unban",
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import db from "src/drizzle/db.js"
|
|||||||
import { devMessage, embedColor, hypixelGuildID } from "~/config/options.js"
|
import { devMessage, embedColor, hypixelGuildID } from "~/config/options.js"
|
||||||
import { waitingListRole } from "~/config/roles.js"
|
import { waitingListRole } from "~/config/roles.js"
|
||||||
import { ICommand } from "~/interfaces"
|
import { ICommand } from "~/interfaces"
|
||||||
import roleManage from "~/utils/functions/rolesmanage.js"
|
import roleManage from "~/utils/Functions/rolesmanage.js"
|
||||||
import { getGuild, getHeadURL, getIGN } from "~/utils/Hypixel.js"
|
import { getGuild, getHeadURL, getIGN } from "~/utils/Hypixel.js"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import { devMessage, embedColor, hypixelGuildID } from "~/config/options.js"
|
|||||||
import { ICommand } from "~/interfaces"
|
import { ICommand } from "~/interfaces"
|
||||||
import { IPlayerData } from "~/interfaces"
|
import { IPlayerData } from "~/interfaces"
|
||||||
import { IGuildData } from "~/interfaces"
|
import { IGuildData } from "~/interfaces"
|
||||||
import roleManage from "~/utils/functions/rolesmanage.js"
|
import roleManage from "~/utils/Functions/rolesmanage.js"
|
||||||
import { getGuild, getHeadURL, getPlayer, getUUID } from "~/utils/Hypixel.js"
|
import { getGuild, getHeadURL, getPlayer, getUUID } from "~/utils/Hypixel.js"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import { guildApps, waitingLists } from "src/drizzle/schema.js"
|
|||||||
import { embedColor, hypixelGuildID, waitingListChannel, waitingListMessage } from "~/config/options.js"
|
import { embedColor, hypixelGuildID, waitingListChannel, waitingListMessage } from "~/config/options.js"
|
||||||
import { waitingListRole } from "~/config/roles.js"
|
import { waitingListRole } from "~/config/roles.js"
|
||||||
import { IButton } from "~/interfaces"
|
import { IButton } from "~/interfaces"
|
||||||
import { color } from "~/utils/functions/colors.js"
|
import { color } from "~/utils/Functions/colors.js"
|
||||||
import { getGuild, getIGN } from "~/utils/Hypixel.js"
|
import { getGuild, getIGN } from "~/utils/Hypixel.js"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import { applicationsChannel, embedColor } from "~/config/options.js"
|
|||||||
import { guild as guildQuestions } from "~/config/questions.js"
|
import { guild as guildQuestions } from "~/config/questions.js"
|
||||||
import { guildRole } from "~/config/roles.js"
|
import { guildRole } from "~/config/roles.js"
|
||||||
import { IButton } from "~/interfaces"
|
import { IButton } from "~/interfaces"
|
||||||
import applicationQuestions from "~/utils/functions/applicationquestions.js"
|
import applicationQuestions from "~/utils/Functions/applicationquestions.js"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "guildapply",
|
name: "guildapply",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { embedColor, inactivityLogChannel } from "~/config/options.js"
|
|||||||
import { inactivity } from "~/config/questions.js"
|
import { inactivity } from "~/config/questions.js"
|
||||||
import { beast, gm, guildRole, guildStaff, manager, member, moderator } from "~/config/roles.js"
|
import { beast, gm, guildRole, guildStaff, manager, member, moderator } from "~/config/roles.js"
|
||||||
import { IButton } from "~/interfaces"
|
import { IButton } from "~/interfaces"
|
||||||
import applicationQuestions from "~/utils/functions/applicationquestions.js"
|
import applicationQuestions from "~/utils/Functions/applicationquestions.js"
|
||||||
const guildRoles = [gm, manager, moderator, beast, member, guildStaff, guildRole]
|
const guildRoles = [gm, manager, moderator, beast, member, guildStaff, guildRole]
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import { staff as staffQuestions } from "~/config/questions.js"
|
|||||||
import { guildRole, guildStaff } from "~/config/roles.js"
|
import { guildRole, guildStaff } from "~/config/roles.js"
|
||||||
import { IButton } from "~/interfaces"
|
import { IButton } from "~/interfaces"
|
||||||
import env from "~/utils/Env.js"
|
import env from "~/utils/Env.js"
|
||||||
import applicationQuestions from "~/utils/functions/applicationquestions.js"
|
import applicationQuestions from "~/utils/Functions/applicationquestions.js"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "staffapply",
|
name: "staffapply",
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import db from "src/drizzle/db.js"
|
|||||||
import { verifies } from "src/drizzle/schema.js"
|
import { verifies } from "src/drizzle/schema.js"
|
||||||
import { devMessage, embedColor, hypixelGuildID } from "~/config/options.js"
|
import { devMessage, embedColor, hypixelGuildID } from "~/config/options.js"
|
||||||
import { IModal } from "~/interfaces"
|
import { IModal } from "~/interfaces"
|
||||||
import roleManage from "~/utils/functions/rolesmanage.js"
|
import roleManage from "~/utils/Functions/rolesmanage.js"
|
||||||
import { getGuild, getHeadURL, getPlayer, getUUID } from "~/utils/Hypixel.js"
|
import { getGuild, getHeadURL, getPlayer, getUUID } from "~/utils/Hypixel.js"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { TextChannel } from "discord.js"
|
import { TextChannel } from "discord.js"
|
||||||
import { devMessage, embedColor, guildLogChannel, hypixelGuildID } from "~/config/options.js"
|
import { devMessage, embedColor, guildLogChannel, hypixelGuildID } from "~/config/options.js"
|
||||||
import { ICron, IGuildData } from "~/interfaces"
|
import { ICron, IGuildData } from "~/interfaces"
|
||||||
import { color } from "~/utils/functions/colors.js"
|
import { color } from "~/utils/Functions/colors.js"
|
||||||
import { getGuild, getIGN } from "~/utils/Hypixel.js"
|
import { getGuild, getIGN } from "~/utils/Hypixel.js"
|
||||||
import { client } from "~/utils/Illegitimate.js"
|
import { client } from "~/utils/Illegitimate.js"
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { GuildMember, userMention } from "discord.js"
|
import { GuildMember, userMention } from "discord.js"
|
||||||
import { embedColor } from "~/config/options.js"
|
import { embedColor } from "~/config/options.js"
|
||||||
import { IEvent } from "~/interfaces"
|
import { IEvent } from "~/interfaces"
|
||||||
import logToChannel from "~/utils/functions/logtochannel.js"
|
import logToChannel from "~/utils/Functions/logtochannel.js"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
event: "guildMemberAdd",
|
event: "guildMemberAdd",
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { IEvent } from "~/interfaces"
|
import { IEvent } from "~/interfaces"
|
||||||
import { color } from "~/utils/functions/colors.js"
|
import { color } from "~/utils/Functions/colors.js"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
event: "interactionCreate",
|
event: "interactionCreate",
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { IEvent } from "~/interfaces"
|
import { IEvent } from "~/interfaces"
|
||||||
import { color } from "~/utils/functions/colors.js"
|
import { color } from "~/utils/Functions/colors.js"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
event: "ready",
|
event: "ready",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { embedColor } from "~/config/options.js"
|
import { embedColor } from "~/config/options.js"
|
||||||
import { IEvent } from "~/interfaces"
|
import { IEvent } from "~/interfaces"
|
||||||
import logToChannel from "~/utils/functions/logtochannel.js"
|
import logToChannel from "~/utils/Functions/logtochannel.js"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
event: "ready",
|
event: "ready",
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import fs from "fs"
|
|||||||
import { ICommand, IContextMenu } from "~/interfaces"
|
import { ICommand, IContextMenu } from "~/interfaces"
|
||||||
import { ExtendedClient } from "./Client.js"
|
import { ExtendedClient } from "./Client.js"
|
||||||
import env from "./Env.js"
|
import env from "./Env.js"
|
||||||
import { color } from "./functions/colors.js"
|
import { color } from "./Functions/colors.js"
|
||||||
type FileType = "js" | "ts"
|
type FileType = "js" | "ts"
|
||||||
|
|
||||||
export default async function autoDeployCommands(fileType: FileType, client: ExtendedClient) {
|
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 { IAutocomplete, IButton, ICommand, IContextMenu, IModal } from "~/interfaces"
|
||||||
import autoDeployCommands from "./Autodeploy.js"
|
import autoDeployCommands from "./Autodeploy.js"
|
||||||
import env from "./Env.js"
|
import env from "./Env.js"
|
||||||
import { color } from "./functions/colors.js"
|
import { color } from "./Functions/colors.js"
|
||||||
|
|
||||||
export class ExtendedClient extends Client {
|
export class ExtendedClient extends Client {
|
||||||
commands: Collection<string, ICommand> = new Collection()
|
commands: Collection<string, ICommand> = new Collection()
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import path from "path"
|
|||||||
import { embedColor } from "~/config/options.js"
|
import { embedColor } from "~/config/options.js"
|
||||||
import { IAutocomplete } from "~/interfaces"
|
import { IAutocomplete } from "~/interfaces"
|
||||||
import { ExtendedClient as Client } from "~/utils/Client.js"
|
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"
|
type FileType = "js" | "ts"
|
||||||
const __dirname = import.meta.dirname
|
const __dirname = import.meta.dirname
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import path from "path"
|
|||||||
import { embedColor } from "~/config/options.js"
|
import { embedColor } from "~/config/options.js"
|
||||||
import { IButton } from "~/interfaces"
|
import { IButton } from "~/interfaces"
|
||||||
import { ExtendedClient as Client } from "~/utils/Client.js"
|
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"
|
type FileType = "js" | "ts"
|
||||||
const __dirname = import.meta.dirname
|
const __dirname = import.meta.dirname
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import path from "path"
|
|||||||
import { embedColor } from "~/config/options.js"
|
import { embedColor } from "~/config/options.js"
|
||||||
import { ICommand } from "~/interfaces"
|
import { ICommand } from "~/interfaces"
|
||||||
import { ExtendedClient as Client } from "~/utils/Client.js"
|
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"
|
type FileType = "js" | "ts"
|
||||||
const __dirname = import.meta.dirname
|
const __dirname = import.meta.dirname
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import path from "path"
|
|||||||
import { embedColor } from "~/config/options.js"
|
import { embedColor } from "~/config/options.js"
|
||||||
import { IContextMenu } from "~/interfaces"
|
import { IContextMenu } from "~/interfaces"
|
||||||
import { ExtendedClient as Client } from "~/utils/Client.js"
|
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"
|
type FileType = "js" | "ts"
|
||||||
const __dirname = import.meta.dirname
|
const __dirname = import.meta.dirname
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import path from "path"
|
|||||||
import { embedColor } from "~/config/options.js"
|
import { embedColor } from "~/config/options.js"
|
||||||
import { IModal } from "~/interfaces"
|
import { IModal } from "~/interfaces"
|
||||||
import { ExtendedClient as Client } from "~/utils/Client.js"
|
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"
|
type FileType = "js" | "ts"
|
||||||
const __dirname = import.meta.dirname
|
const __dirname = import.meta.dirname
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import { YoutubeiExtractor } from "discord-player-youtubei"
|
|||||||
import { Redis } from "ioredis"
|
import { Redis } from "ioredis"
|
||||||
import { ExtendedClient as Client } from "~/utils/Client.js"
|
import { ExtendedClient as Client } from "~/utils/Client.js"
|
||||||
import env from "~/utils/Env.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 { MissingEnvVarsError } from "./Classes.js"
|
||||||
import loadAllEvents from "./Events/loadevents.js"
|
import loadAllEvents from "./Events/loadevents.js"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user