Added dprint and formatted file to it

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2024-09-06 22:57:15 +02:00
parent 55e1cf7cdf
commit f389209e21
106 changed files with 398 additions and 395 deletions

View File

@@ -1,7 +1,7 @@
import fetch from "axios"
import env from "utils/Env.js"
import { IPlayer, IPlayerData } from "interfaces"
import { IGuild, IGuildData } from "interfaces"
import env from "utils/Env.js"
const apikey = env.prod.hypixelapikey
const mojang = "https://api.mojang.com/users/profiles/minecraft/"
const mojanguuid = "https://sessionserver.mojang.com/session/minecraft/profile/"
@@ -21,7 +21,7 @@ type Profile2 = {
data: {
id: string
name: string
properties: { name: string; value: string }[]
properties: { name: string, value: string }[]
profileActions: []
}
}
@@ -86,4 +86,4 @@ async function getHeadURL(ign: string): Promise<string | null> {
return minotar + ign
}
export { getUUID, getIGN, getPlayer, getGuild, getHeadURL }
export { getGuild, getHeadURL, getIGN, getPlayer, getUUID }