Updated all files to new interfaces

This commit is contained in:
2024-02-16 16:03:04 +01:00
parent 137401630e
commit 769c3d12ed
77 changed files with 168 additions and 168 deletions

View File

@@ -6,7 +6,7 @@ import roleManage from "utils/functions/rolesmanage"
import { ChatInputCommandInteraction, GuildMember } from "discord.js"
import env from "utils/Env"
import { getGuild } from "utils/Hypixel"
import { GuildData } from "interfaces"
import { IGuildData } from "interfaces"
export default async function updateAll(interaction: ChatInputCommandInteraction): Promise<void> {
await interaction.deferReply()
@@ -32,7 +32,7 @@ export default async function updateAll(interaction: ChatInputCommandInteraction
})
)
const guildData = (await getGuild(hypixelGuildID, "id")) as GuildData
const guildData = (await getGuild(hypixelGuildID, "id")) as IGuildData
const hypixelGuildMembers = guildData.members.map(gmember => {
return {