Removed unneeded .js extensions
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { anilist } from "anilist"
|
||||
import { InteractionContextType, SlashCommandBuilder } from "discord.js"
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { devMessage, embedColor } from "~/config/options"
|
||||
import { ICommand } from "~/typings"
|
||||
|
||||
export default {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { admin, helper } from "~/config/roles.js"
|
||||
import { devMessage, embedColor } from "~/config/options"
|
||||
import { admin, helper } from "~/config/roles"
|
||||
import { ICommand } from "~/typings"
|
||||
import logToChannel from "~/utils/Functions/logtochannel.js"
|
||||
import logToChannel from "~/utils/Functions/logtochannel"
|
||||
|
||||
export default {
|
||||
name: "ban",
|
||||
|
||||
@@ -3,7 +3,7 @@ import { InteractionContextType, SlashCommandBuilder } from "discord.js"
|
||||
import { createRequire } from "node:module"
|
||||
import os from "os"
|
||||
import prettyMs from "pretty-ms"
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { devMessage, embedColor } from "~/config/options"
|
||||
import { ICommand } from "~/typings"
|
||||
|
||||
const require = createRequire(import.meta.url)
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { InteractionContextType, SlashCommandBuilder } from "discord.js"
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { bwfkdr, bwstars, bwwins, duelswins, duelswlr, swkdr, swstars } from "~/config/reqs.js"
|
||||
import { devMessage, embedColor } from "~/config/options"
|
||||
import { bwfkdr, bwstars, bwwins, duelswins, duelswlr, swkdr, swstars } from "~/config/reqs"
|
||||
import { ICommand } from "~/typings"
|
||||
import { bedwarsLevel, getGuild, getHeadURL, getPlayer, getUUID, hypixelLevel, skywarsLevel } from "~/utils/Hypixel.js"
|
||||
import { bedwarsLevel, getGuild, getHeadURL, getPlayer, getUUID, hypixelLevel, skywarsLevel } from "~/utils/Hypixel"
|
||||
|
||||
export default {
|
||||
name: "check",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { channelMention, InteractionContextType, MessageFlags, PermissionFlagsBits, SlashCommandBuilder, TextChannel, userMention } from "discord.js"
|
||||
import { embedColor } from "~/config/options.js"
|
||||
import { embedColor } from "~/config/options"
|
||||
import { ICommand } from "~/typings"
|
||||
import logToChannel from "~/utils/Functions/logtochannel.js"
|
||||
import logToChannel from "~/utils/Functions/logtochannel"
|
||||
|
||||
export default {
|
||||
name: "clear",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder } from "discord.js"
|
||||
import { addSetting, getSetting, updateSetting } from "src/drizzle/functions.js"
|
||||
import { embedColor } from "~/config/options.js"
|
||||
import { addSetting, getSetting, updateSetting } from "src/drizzle/functions"
|
||||
import { embedColor } from "~/config/options"
|
||||
import { ICommand } from "~/typings"
|
||||
|
||||
export default {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder } from "discord.js"
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { devMessage, embedColor } from "~/config/options"
|
||||
import { ICommand } from "~/typings"
|
||||
import ban from "./counting/ban.js"
|
||||
import unban from "./counting/unban.js"
|
||||
import ban from "./counting/ban"
|
||||
import unban from "./counting/unban"
|
||||
|
||||
export default {
|
||||
name: "counting",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { GuildMember, userMention } from "discord.js"
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { countingBanned } from "~/config/roles.js"
|
||||
import { devMessage, embedColor } from "~/config/options"
|
||||
import { countingBanned } from "~/config/roles"
|
||||
import { SubCommand } from "~/typings"
|
||||
|
||||
const cmd: SubCommand = async (interaction) => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { GuildMember, userMention } from "discord.js"
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { countingBanned } from "~/config/roles.js"
|
||||
import { devMessage, embedColor } from "~/config/options"
|
||||
import { countingBanned } from "~/config/roles"
|
||||
import { SubCommand } from "~/typings"
|
||||
|
||||
const cmd: SubCommand = async (interaction) => {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
|
||||
import { getVerify } from "src/drizzle/functions.js"
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { getVerify } from "src/drizzle/functions"
|
||||
import { devMessage, embedColor } from "~/config/options"
|
||||
import { ICommand } from "~/typings"
|
||||
import { getHeadURL, getIGN, getUUID } from "~/utils/Hypixel.js"
|
||||
import { getHeadURL, getIGN, getUUID } from "~/utils/Hypixel"
|
||||
|
||||
export default {
|
||||
name: "find",
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
|
||||
import { getVerify, removeVerify } from "src/drizzle/functions.js"
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { getVerify, removeVerify } from "src/drizzle/functions"
|
||||
import { devMessage, embedColor } from "~/config/options"
|
||||
import { ICommand } from "~/typings"
|
||||
import logToChannel from "~/utils/Functions/logtochannel.js"
|
||||
import roleManage from "~/utils/Functions/rolesmanage.js"
|
||||
import { getIGN } from "~/utils/Hypixel.js"
|
||||
import logToChannel from "~/utils/Functions/logtochannel"
|
||||
import roleManage from "~/utils/Functions/rolesmanage"
|
||||
import { getIGN } from "~/utils/Hypixel"
|
||||
|
||||
export default {
|
||||
name: "forceunverify",
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
|
||||
import { getVerify } from "src/drizzle/functions.js"
|
||||
import { devMessage, embedColor, hypixelGuildID } from "~/config/options.js"
|
||||
import { waitingListRole } from "~/config/roles.js"
|
||||
import { getVerify } from "src/drizzle/functions"
|
||||
import { devMessage, embedColor, hypixelGuildID } from "~/config/options"
|
||||
import { waitingListRole } from "~/config/roles"
|
||||
import { ICommand } from "~/typings"
|
||||
import getGuildRank from "~/utils/Functions/guildrank.js"
|
||||
import roleManage from "~/utils/Functions/rolesmanage.js"
|
||||
import { getGuild, getHeadURL, getIGN } from "~/utils/Hypixel.js"
|
||||
import getGuildRank from "~/utils/Functions/guildrank"
|
||||
import roleManage from "~/utils/Functions/rolesmanage"
|
||||
import { getGuild, getHeadURL, getIGN } from "~/utils/Hypixel"
|
||||
|
||||
export default {
|
||||
name: "forceupdate",
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
|
||||
import { addVerify, getVerify } from "src/drizzle/functions.js"
|
||||
import { devMessage, embedColor, hypixelGuildID } from "~/config/options.js"
|
||||
import { addVerify, getVerify } from "src/drizzle/functions"
|
||||
import { devMessage, embedColor, hypixelGuildID } from "~/config/options"
|
||||
import { ICommand } from "~/typings"
|
||||
import getGuildRank from "~/utils/Functions/guildrank.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 getGuildRank from "~/utils/Functions/guildrank"
|
||||
import logToChannel from "~/utils/Functions/logtochannel"
|
||||
import roleManage from "~/utils/Functions/rolesmanage"
|
||||
import { getGuild, getHeadURL, getPlayer, getUUID } from "~/utils/Hypixel"
|
||||
|
||||
export default {
|
||||
name: "forceverify",
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { InteractionContextType, SlashCommandBuilder } from "discord.js"
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { devMessage, embedColor } from "~/config/options"
|
||||
import { ICommand } from "~/typings"
|
||||
import guildInfo from "./guild/info.js"
|
||||
import guildMember from "./guild/member.js"
|
||||
import guildTop from "./guild/top.js"
|
||||
import guildInfo from "./guild/info"
|
||||
import guildMember from "./guild/member"
|
||||
import guildTop from "./guild/top"
|
||||
|
||||
export default {
|
||||
name: "guild",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { devMessage, embedColor } from "~/config/options"
|
||||
import { IGuildData, SubCommand } from "~/typings"
|
||||
import { dateTimeFormatter, numberFormatter } from "~/utils/Functions/intlFormaters.js"
|
||||
import { getGuild, getIGN, getPlayer, getUUID, guildLevel } from "~/utils/Hypixel.js"
|
||||
import { dateTimeFormatter, numberFormatter } from "~/utils/Functions/intlFormaters"
|
||||
import { getGuild, getIGN, getPlayer, getUUID, guildLevel } from "~/utils/Hypixel"
|
||||
|
||||
const cmd: SubCommand = async (interaction) => {
|
||||
await interaction.deferReply()
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { devMessage, embedColor } from "~/config/options"
|
||||
import { SubCommand } from "~/typings"
|
||||
import { dateTimeFormatter, numberFormatter } from "~/utils/Functions/intlFormaters.js"
|
||||
import { getGuild, getHeadURL, getPlayer, getUUID } from "~/utils/Hypixel.js"
|
||||
import { dateTimeFormatter, numberFormatter } from "~/utils/Functions/intlFormaters"
|
||||
import { getGuild, getHeadURL, getPlayer, getUUID } from "~/utils/Hypixel"
|
||||
|
||||
const cmd: SubCommand = async (interaction) => {
|
||||
await interaction.deferReply()
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { devMessage, embedColor } from "~/config/options"
|
||||
import { IGuildData, SubCommand } from "~/typings"
|
||||
import { numberFormatter } from "~/utils/Functions/intlFormaters.js"
|
||||
import { getGuild, getIGN, getPlayer, getUUID } from "~/utils/Hypixel.js"
|
||||
import { redis } from "~/utils/Illegitimate.js"
|
||||
import { numberFormatter } from "~/utils/Functions/intlFormaters"
|
||||
import { getGuild, getIGN, getPlayer, getUUID } from "~/utils/Hypixel"
|
||||
import { redis } from "~/utils/Illegitimate"
|
||||
|
||||
const cmd: SubCommand = async (interaction) => {
|
||||
await interaction.deferReply()
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { ActionRowBuilder, ButtonBuilder, ButtonStyle, ComponentType, InteractionContextType, MessageFlags, SlashCommandBuilder } from "discord.js"
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { devMessage, embedColor } from "~/config/options"
|
||||
import { ICommand } from "~/typings"
|
||||
|
||||
export default {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder } from "discord.js"
|
||||
import { devMessage, embedColor, instructionsgif } from "~/config/options.js"
|
||||
import { devMessage, embedColor, instructionsgif } from "~/config/options"
|
||||
import { ICommand } from "~/typings"
|
||||
|
||||
export default {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { admin, helper } from "~/config/roles.js"
|
||||
import { devMessage, embedColor } from "~/config/options"
|
||||
import { admin, helper } from "~/config/roles"
|
||||
import { ICommand } from "~/typings"
|
||||
import logToChannel from "~/utils/Functions/logtochannel.js"
|
||||
import logToChannel from "~/utils/Functions/logtochannel"
|
||||
|
||||
export default {
|
||||
name: "kick",
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder } from "discord.js"
|
||||
import { ICommand } from "~/typings"
|
||||
import leave from "./music/leave.js"
|
||||
import nowplaying from "./music/nowplaying.js"
|
||||
import pause from "./music/pause.js"
|
||||
import play from "./music/play.js"
|
||||
import queue from "./music/queue.js"
|
||||
import repeat from "./music/repeat.js"
|
||||
import skip from "./music/skip.js"
|
||||
import unpause from "./music/unpause.js"
|
||||
import volume from "./music/volume.js"
|
||||
import leave from "./music/leave"
|
||||
import nowplaying from "./music/nowplaying"
|
||||
import pause from "./music/pause"
|
||||
import play from "./music/play"
|
||||
import queue from "./music/queue"
|
||||
import repeat from "./music/repeat"
|
||||
import skip from "./music/skip"
|
||||
import unpause from "./music/unpause"
|
||||
import volume from "./music/volume"
|
||||
|
||||
export default {
|
||||
name: "music",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useMainPlayer } from "discord-player"
|
||||
import { embedColor } from "~/config/options.js"
|
||||
import { embedColor } from "~/config/options"
|
||||
import { SubCommand } from "~/typings"
|
||||
|
||||
const cmd: SubCommand = async (interaction) => {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useMainPlayer } from "discord-player"
|
||||
import { embedColor } from "~/config/options.js"
|
||||
import { embedColor } from "~/config/options"
|
||||
import { SubCommand } from "~/typings"
|
||||
|
||||
const cmd: SubCommand = async (interaction) => {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useMainPlayer } from "discord-player"
|
||||
import { embedColor } from "~/config/options.js"
|
||||
import { embedColor } from "~/config/options"
|
||||
import { SubCommand } from "~/typings"
|
||||
|
||||
const cmd: SubCommand = async (interaction) => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { useMainPlayer } from "discord-player"
|
||||
import { GuildMember } from "discord.js"
|
||||
import { embedColor } from "~/config/options.js"
|
||||
import { embedColor } from "~/config/options"
|
||||
import { SubCommand } from "~/typings"
|
||||
|
||||
const cmd: SubCommand = async (interaction) => {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useMainPlayer } from "discord-player"
|
||||
import { embedColor } from "~/config/options.js"
|
||||
import { embedColor } from "~/config/options"
|
||||
import { SubCommand } from "~/typings"
|
||||
|
||||
const cmd: SubCommand = async (interaction) => {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { QueueRepeatMode, useMainPlayer } from "discord-player"
|
||||
import { embedColor } from "~/config/options.js"
|
||||
import { embedColor } from "~/config/options"
|
||||
import { SubCommand } from "~/typings"
|
||||
|
||||
const QueueRepeatModes = {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useMainPlayer } from "discord-player"
|
||||
import { embedColor } from "~/config/options.js"
|
||||
import { embedColor } from "~/config/options"
|
||||
import { SubCommand } from "~/typings"
|
||||
|
||||
const cmd: SubCommand = async (interaction) => {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useMainPlayer } from "discord-player"
|
||||
import { embedColor } from "~/config/options.js"
|
||||
import { embedColor } from "~/config/options"
|
||||
import { SubCommand } from "~/typings"
|
||||
|
||||
const cmd: SubCommand = async (interaction) => {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useMainPlayer } from "discord-player"
|
||||
import { embedColor } from "~/config/options.js"
|
||||
import { embedColor } from "~/config/options"
|
||||
import { SubCommand } from "~/typings"
|
||||
|
||||
const cmd: SubCommand = async (interaction) => {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { InteractionContextType, SlashCommandBuilder } from "discord.js"
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { devMessage, embedColor } from "~/config/options"
|
||||
import { ICommand } from "~/typings"
|
||||
|
||||
export default {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { InteractionContextType, SlashCommandBuilder, User } from "discord.js"
|
||||
import { embedColor } from "~/config/options.js"
|
||||
import { embedColor } from "~/config/options"
|
||||
import { ICommand } from "~/typings"
|
||||
import env from "~/utils/Env.js"
|
||||
import env from "~/utils/Env"
|
||||
|
||||
export default {
|
||||
name: "pp",
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
|
||||
import { getWaitingList, removeWaitingList } from "src/drizzle/functions.js"
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { waitingListRole } from "~/config/roles.js"
|
||||
import { getWaitingList, removeWaitingList } from "src/drizzle/functions"
|
||||
import { devMessage, embedColor } from "~/config/options"
|
||||
import { waitingListRole } from "~/config/roles"
|
||||
import { ICommand } from "~/typings"
|
||||
import logToChannel from "~/utils/Functions/logtochannel.js"
|
||||
import logToChannel from "~/utils/Functions/logtochannel"
|
||||
|
||||
export default {
|
||||
name: "remove",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { InteractionContextType, SlashCommandBuilder } from "discord.js"
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { bwfkdr, bwstars, bwwins, duelswins, duelswlr, swkdr, swstars } from "~/config/reqs.js"
|
||||
import { devMessage, embedColor } from "~/config/options"
|
||||
import { bwfkdr, bwstars, bwwins, duelswins, duelswlr, swkdr, swstars } from "~/config/reqs"
|
||||
import { ICommand } from "~/typings"
|
||||
|
||||
export default {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { ChannelType, InteractionContextType, MessageFlags, PermissionFlagsBits, SlashCommandBuilder, TextChannel } from "discord.js"
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { devMessage, embedColor } from "~/config/options"
|
||||
import { ICommand } from "~/typings"
|
||||
|
||||
export default {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { GuildMember, InteractionContextType, MessageFlags, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { devMessage, embedColor } from "~/config/options"
|
||||
import { ICommand } from "~/typings"
|
||||
import logToChannel from "~/utils/Functions/logtochannel.js"
|
||||
import logToChannel from "~/utils/Functions/logtochannel"
|
||||
|
||||
export default {
|
||||
name: "setnick",
|
||||
|
||||
@@ -9,7 +9,7 @@ import {
|
||||
SlashCommandBuilder,
|
||||
TextChannel
|
||||
} from "discord.js"
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { devMessage, embedColor } from "~/config/options"
|
||||
import { ICommand } from "~/typings"
|
||||
|
||||
export default {
|
||||
|
||||
@@ -8,9 +8,9 @@ import {
|
||||
TextChannel,
|
||||
userMention
|
||||
} from "discord.js"
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { devMessage, embedColor } from "~/config/options"
|
||||
import { ICommand } from "~/typings"
|
||||
import logToChannel from "~/utils/Functions/logtochannel.js"
|
||||
import logToChannel from "~/utils/Functions/logtochannel"
|
||||
|
||||
export default {
|
||||
name: "slowmode",
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder } from "discord.js"
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { devMessage, embedColor } from "~/config/options"
|
||||
import { ICommand } from "~/typings"
|
||||
import beast from "./staff/beast.js"
|
||||
import help from "./staff/help.js"
|
||||
import prune from "./staff/prune.js"
|
||||
import removeGuildRoles from "./staff/removeguildroles.js"
|
||||
import updateAll from "./staff/updateall.js"
|
||||
import beast from "./staff/beast"
|
||||
import help from "./staff/help"
|
||||
import prune from "./staff/prune"
|
||||
import removeGuildRoles from "./staff/removeguildroles"
|
||||
import updateAll from "./staff/updateall"
|
||||
|
||||
export default {
|
||||
name: "staff",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { beastbwfkdr, beastbwstars, beastduelswins, beastswkdr, beastswstars, bwwins, duelswlr } from "~/config/reqs.js"
|
||||
import { devMessage, embedColor } from "~/config/options"
|
||||
import { beastbwfkdr, beastbwstars, beastduelswins, beastswkdr, beastswstars, bwwins, duelswlr } from "~/config/reqs"
|
||||
import { SubCommand } from "~/typings"
|
||||
import { bedwarsLevel, getGuild, getHeadURL, getPlayer, getUUID, hypixelLevel, skywarsLevel } from "~/utils/Hypixel.js"
|
||||
import { bedwarsLevel, getGuild, getHeadURL, getPlayer, getUUID, hypixelLevel, skywarsLevel } from "~/utils/Hypixel"
|
||||
|
||||
const cmd: SubCommand = async (interaction) => {
|
||||
await interaction.deferReply()
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { ActionRowBuilder, ButtonBuilder, ButtonStyle, ComponentType, MessageFlags } from "discord.js"
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { devMessage, embedColor } from "~/config/options"
|
||||
import { SubCommmndClient } from "~/typings"
|
||||
|
||||
const cmd: SubCommmndClient = async (interaction, client) => {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { ActionRowBuilder, ButtonBuilder, ButtonInteraction, ButtonStyle, ComponentType } from "discord.js"
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { devMessage, embedColor } from "~/config/options"
|
||||
import { SubCommand } from "~/typings"
|
||||
import env from "~/utils/Env.js"
|
||||
import env from "~/utils/Env"
|
||||
|
||||
const cmd: SubCommand = async (interaction) => {
|
||||
await interaction.deferReply()
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import { GuildMember } from "discord.js"
|
||||
import { getVerifies } from "src/drizzle/functions.js"
|
||||
import { embedColor, hypixelGuildID } from "~/config/options.js"
|
||||
import { getVerifies } from "src/drizzle/functions"
|
||||
import { embedColor, hypixelGuildID } from "~/config/options"
|
||||
import { IGuildData, SubCommand } from "~/typings"
|
||||
import env from "~/utils/Env.js"
|
||||
import roleManage from "~/utils/Functions/rolesmanage.js"
|
||||
import { getGuild } from "~/utils/Hypixel.js"
|
||||
import env from "~/utils/Env"
|
||||
import roleManage from "~/utils/Functions/rolesmanage"
|
||||
import { getGuild } from "~/utils/Hypixel"
|
||||
|
||||
const cmd: SubCommand = async (interaction) => {
|
||||
await interaction.deferReply()
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import { ChannelType, GuildMember } from "discord.js"
|
||||
import { getVerifies } from "src/drizzle/functions.js"
|
||||
import { embedColor, hypixelGuildID } from "~/config/options.js"
|
||||
import { getVerifies } from "src/drizzle/functions"
|
||||
import { embedColor, hypixelGuildID } from "~/config/options"
|
||||
import { IGuildData, SubCommand } from "~/typings"
|
||||
import env from "~/utils/Env.js"
|
||||
import getGuildRank from "~/utils/Functions/guildrank.js"
|
||||
import roleManage from "~/utils/Functions/rolesmanage.js"
|
||||
import { getGuild, getIGN } from "~/utils/Hypixel.js"
|
||||
import { log } from "~/utils/Logger.js"
|
||||
import env from "~/utils/Env"
|
||||
import getGuildRank from "~/utils/Functions/guildrank"
|
||||
import roleManage from "~/utils/Functions/rolesmanage"
|
||||
import { getGuild, getIGN } from "~/utils/Hypixel"
|
||||
import { log } from "~/utils/Logger"
|
||||
|
||||
const cmd: SubCommand = async (interaction) => {
|
||||
await interaction.deferReply()
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { GuildMember, InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
|
||||
import ms from "ms"
|
||||
import prettyMs from "pretty-ms"
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { devMessage, embedColor } from "~/config/options"
|
||||
import { ICommand } from "~/typings"
|
||||
import logToChannel from "~/utils/Functions/logtochannel.js"
|
||||
import logToChannel from "~/utils/Functions/logtochannel"
|
||||
|
||||
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 { devMessage, embedColor } from "~/config/options"
|
||||
import { ICommand } from "~/typings"
|
||||
import logToChannel from "~/utils/Functions/logtochannel.js"
|
||||
import logToChannel from "~/utils/Functions/logtochannel"
|
||||
|
||||
export default {
|
||||
name: "unban",
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import { GuildMember, InteractionContextType, SlashCommandBuilder } from "discord.js"
|
||||
import { getVerify } from "src/drizzle/functions.js"
|
||||
import { devMessage, embedColor, hypixelGuildID } from "~/config/options.js"
|
||||
import { waitingListRole } from "~/config/roles.js"
|
||||
import { getVerify } from "src/drizzle/functions"
|
||||
import { devMessage, embedColor, hypixelGuildID } from "~/config/options"
|
||||
import { waitingListRole } from "~/config/roles"
|
||||
import { ICommand } from "~/typings"
|
||||
import getGuildRank from "~/utils/Functions/guildrank.js"
|
||||
import roleManage from "~/utils/Functions/rolesmanage.js"
|
||||
import { getGuild, getHeadURL, getIGN } from "~/utils/Hypixel.js"
|
||||
import getGuildRank from "~/utils/Functions/guildrank"
|
||||
import roleManage from "~/utils/Functions/rolesmanage"
|
||||
import { getGuild, getHeadURL, getIGN } from "~/utils/Hypixel"
|
||||
|
||||
export default {
|
||||
name: "update",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { InteractionContextType, SlashCommandBuilder } from "discord.js"
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { devMessage, embedColor } from "~/config/options"
|
||||
import { ICommand } from "~/typings"
|
||||
import { formatUuid, getHeadURL, getIGN, getUUID } from "~/utils/Hypixel.js"
|
||||
import { formatUuid, getHeadURL, getIGN, getUUID } from "~/utils/Hypixel"
|
||||
|
||||
export default {
|
||||
name: "uuid",
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import { GuildMember, InteractionContextType, SlashCommandBuilder } from "discord.js"
|
||||
import { addVerify, getVerify } from "src/drizzle/functions.js"
|
||||
import { devMessage, embedColor, hypixelGuildID } from "~/config/options.js"
|
||||
import { addVerify, getVerify } from "src/drizzle/functions"
|
||||
import { devMessage, embedColor, hypixelGuildID } from "~/config/options"
|
||||
import { ICommand, IGuildData, IPlayerData } from "~/typings"
|
||||
import getGuildRank from "~/utils/Functions/guildrank.js"
|
||||
import roleManage from "~/utils/Functions/rolesmanage.js"
|
||||
import { getGuild, getHeadURL, getPlayer, getUUID } from "~/utils/Hypixel.js"
|
||||
import getGuildRank from "~/utils/Functions/guildrank"
|
||||
import roleManage from "~/utils/Functions/rolesmanage"
|
||||
import { getGuild, getHeadURL, getPlayer, getUUID } from "~/utils/Hypixel"
|
||||
|
||||
export default {
|
||||
name: "verify",
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { InteractionContextType, SlashCommandBuilder, userMention } from "discord.js"
|
||||
import { getVerify } from "src/drizzle/functions.js"
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { getVerify } from "src/drizzle/functions"
|
||||
import { devMessage, embedColor } from "~/config/options"
|
||||
import { ICommand } from "~/typings"
|
||||
import { getHeadURL, getIGN } from "~/utils/Hypixel.js"
|
||||
import { getHeadURL, getIGN } from "~/utils/Hypixel"
|
||||
|
||||
export default {
|
||||
name: "whoami",
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder, userMention } from "discord.js"
|
||||
import { getVerify } from "src/drizzle/functions.js"
|
||||
import { devMessage, embedColor } from "~/config/options.js"
|
||||
import { getVerify } from "src/drizzle/functions"
|
||||
import { devMessage, embedColor } from "~/config/options"
|
||||
import { ICommand } from "~/typings"
|
||||
import { getHeadURL, getIGN } from "~/utils/Hypixel.js"
|
||||
import { getHeadURL, getIGN } from "~/utils/Hypixel"
|
||||
|
||||
export default {
|
||||
name: "whois",
|
||||
|
||||
Reference in New Issue
Block a user