Small tweaks

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2024-01-14 17:22:10 +01:00
parent 8163996887
commit fca72cceda
3 changed files with 20 additions and 20 deletions

View File

@@ -1,10 +1,10 @@
import { ExtendedClient as Client } from "utils/Client" import { ExtendedClient as Client } from "./Client"
import { loadButtonEvents } from "utils/eventHandlers" import { loadButtonEvents } from "./eventHandlers"
import { loadSlashCommandsEvents } from "utils/eventHandlers" import { loadSlashCommandsEvents } from "./eventHandlers"
import { loadContextMenuEvents } from "utils/eventHandlers" import { loadContextMenuEvents } from "./eventHandlers"
import { loadModalEvents } from "utils/eventHandlers" import { loadModalEvents } from "./eventHandlers"
import { loadEvents } from "utils/eventHandlers" import { loadEvents } from "./eventHandlers"
import { loadAutocompleteEvents } from "utils/eventHandlers" import { loadAutocompleteEvents } from "./eventHandlers"
type FileType = "js" | "ts" type FileType = "js" | "ts"
export function loadAllEvents(client: Client, ft: FileType) { export function loadAllEvents(client: Client, ft: FileType) {

View File

@@ -1,12 +1,12 @@
export { skywarsLevel } from "utils/functions/skywars" export { skywarsLevel } from "./functions/skywars"
export { bedwarsLevel } from "utils/functions/bedwars" export { bedwarsLevel } from "./functions/bedwars"
export { hypixelLevel } from "utils/functions/hypixel" export { hypixelLevel } from "./functions/hypixel"
export { formatUuid } from "utils/functions/uuid" export { formatUuid } from "./functions/uuid"
export { guildLevel, scaledGEXP } from "utils/functions/guild" export { guildLevel, scaledGEXP } from "./functions/guild"
export { export {
getUUID, getUUID,
getIGN, getIGN,
getPlayer, getPlayer,
getGuild, getGuild,
getHeadURL, getHeadURL,
} from "utils/functions/account" } from "./functions/account"

View File

@@ -1,10 +1,10 @@
import loadAutocompleteEvents from "utils/eventHandlers/autocomplete" import loadAutocompleteEvents from "./autocomplete"
import loadButtonEvents from "utils/eventHandlers/button" import loadButtonEvents from "./button"
import loadSlashCommandsEvents from "utils/eventHandlers/command" import loadSlashCommandsEvents from "./command"
import loadContextMenuEvents from "utils/eventHandlers/contextmenu" import loadContextMenuEvents from "./contextmenu"
import loadCronEvents from "utils/eventHandlers/cron" import loadCronEvents from "./cron"
import loadEvents from "utils/eventHandlers/events" import loadEvents from "./events"
import loadModalEvents from "utils/eventHandlers/modal" import loadModalEvents from "./modal"
export { export {
loadAutocompleteEvents, loadAutocompleteEvents,