Updated function folder name
This commit is contained in:
@@ -2,7 +2,7 @@ import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandB
|
||||
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"
|
||||
import logToChannel from "~/utils/Functions/logtochannel.js"
|
||||
|
||||
export default {
|
||||
name: "ban",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { channelMention, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, TextChannel, userMention } from "discord.js"
|
||||
import { embedColor } from "~/config/options.js"
|
||||
import { ICommand } from "~/interfaces"
|
||||
import logToChannel from "~/utils/functions/logtochannel.js"
|
||||
import logToChannel from "~/utils/Functions/logtochannel.js"
|
||||
|
||||
export default {
|
||||
name: "clear",
|
||||
|
||||
@@ -4,8 +4,8 @@ import db from "src/drizzle/db.js"
|
||||
import { verifies } from "src/drizzle/schema.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 logToChannel from "~/utils/Functions/logtochannel.js"
|
||||
import roleManage from "~/utils/Functions/rolesmanage.js"
|
||||
import { getIGN } from "~/utils/Hypixel.js"
|
||||
|
||||
export default {
|
||||
|
||||
@@ -3,7 +3,7 @@ import db from "src/drizzle/db.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 roleManage from "~/utils/Functions/rolesmanage.js"
|
||||
import { getGuild, getHeadURL, getIGN } from "~/utils/Hypixel.js"
|
||||
|
||||
export default {
|
||||
|
||||
@@ -3,8 +3,8 @@ import db from "src/drizzle/db.js"
|
||||
import { verifies } from "src/drizzle/schema.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 logToChannel from "~/utils/Functions/logtochannel.js"
|
||||
import roleManage from "~/utils/Functions/rolesmanage.js"
|
||||
import { getGuild, getHeadURL, getPlayer, getUUID } from "~/utils/Hypixel.js"
|
||||
|
||||
export default {
|
||||
|
||||
@@ -2,7 +2,7 @@ import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandB
|
||||
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"
|
||||
import logToChannel from "~/utils/Functions/logtochannel.js"
|
||||
|
||||
export default {
|
||||
name: "kick",
|
||||
|
||||
@@ -5,7 +5,7 @@ import { waitingLists } from "src/drizzle/schema.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"
|
||||
import logToChannel from "~/utils/Functions/logtochannel.js"
|
||||
|
||||
export default {
|
||||
name: "remove",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { ICommand } from "~/interfaces"
|
||||
import logToChannel from "~/utils/functions/logtochannel.js"
|
||||
import logToChannel from "~/utils/Functions/logtochannel.js"
|
||||
|
||||
export default {
|
||||
name: "setnick",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { channelMention, ChannelType, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, TextChannel, userMention } from "discord.js"
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { ICommand } from "~/interfaces"
|
||||
import logToChannel from "~/utils/functions/logtochannel.js"
|
||||
import logToChannel from "~/utils/Functions/logtochannel.js"
|
||||
|
||||
export default {
|
||||
name: "slowmode",
|
||||
|
||||
@@ -3,7 +3,7 @@ import db from "src/drizzle/db.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 roleManage from "~/utils/Functions/rolesmanage.js"
|
||||
import { getGuild } from "~/utils/Hypixel.js"
|
||||
|
||||
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 { IGuildData } from "~/interfaces"
|
||||
import env from "~/utils/Env.js"
|
||||
import { color } from "~/utils/functions/colors.js"
|
||||
import roleManage from "~/utils/functions/rolesmanage.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> {
|
||||
|
||||
@@ -3,7 +3,7 @@ import ms from "ms"
|
||||
import prettyMs from "pretty-ms"
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { ICommand } from "~/interfaces"
|
||||
import logToChannel from "~/utils/functions/logtochannel.js"
|
||||
import logToChannel from "~/utils/Functions/logtochannel.js"
|
||||
|
||||
export default {
|
||||
name: "timeout",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, User, userMention } from "discord.js"
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { ICommand } from "~/interfaces"
|
||||
import logToChannel from "~/utils/functions/logtochannel.js"
|
||||
import logToChannel from "~/utils/Functions/logtochannel.js"
|
||||
|
||||
export default {
|
||||
name: "unban",
|
||||
|
||||
@@ -3,7 +3,7 @@ import db from "src/drizzle/db.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 roleManage from "~/utils/Functions/rolesmanage.js"
|
||||
import { getGuild, getHeadURL, getIGN } from "~/utils/Hypixel.js"
|
||||
|
||||
export default {
|
||||
|
||||
@@ -5,7 +5,7 @@ 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 roleManage from "~/utils/Functions/rolesmanage.js"
|
||||
import { getGuild, getHeadURL, getPlayer, getUUID } from "~/utils/Hypixel.js"
|
||||
|
||||
export default {
|
||||
|
||||
Reference in New Issue
Block a user