Moved to esm

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2024-08-23 17:59:00 +02:00
parent 31b88396ea
commit 3f7f23d4b3
123 changed files with 575 additions and 510 deletions

View File

@@ -1,5 +1,5 @@
import { getUUID, getIGN, getPlayer, getGuild, guildLevel } from "utils/Hypixel"
import { embedColor, devMessage } from "config/options"
import { getUUID, getIGN, getPlayer, getGuild, guildLevel } from "utils/Hypixel.js"
import { embedColor, devMessage } from "config/options.js"
import { ChatInputCommandInteraction } from "discord.js"
import { IGuildData } from "interfaces"

View File

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

View File

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