Added dprint and formatted file to it
Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import verify from "schemas/verifyTag.js"
|
||||
import { embedColor, hypixelGuildID } from "config/options.js"
|
||||
import { ChatInputCommandInteraction, GuildMember } from "discord.js"
|
||||
import { IGuildData } from "interfaces"
|
||||
import verify from "schemas/verifyTag.js"
|
||||
import env from "utils/Env.js"
|
||||
import color from "utils/functions/colors.js"
|
||||
import roleManage from "utils/functions/rolesmanage.js"
|
||||
import { ChatInputCommandInteraction, GuildMember } from "discord.js"
|
||||
import env from "utils/Env.js"
|
||||
import { getGuild, getIGN } from "utils/Hypixel.js"
|
||||
import { IGuildData } from "interfaces"
|
||||
|
||||
export default async function updateAll(interaction: ChatInputCommandInteraction): Promise<void> {
|
||||
await interaction.deferReply()
|
||||
@@ -23,12 +23,13 @@ export default async function updateAll(interaction: ChatInputCommandInteraction
|
||||
}
|
||||
|
||||
const guildMembers = await interaction.guild!.members.fetch().then(
|
||||
members => members.map(member => {
|
||||
return {
|
||||
id: member.id,
|
||||
member: member
|
||||
}
|
||||
})
|
||||
members =>
|
||||
members.map(member => {
|
||||
return {
|
||||
id: member.id,
|
||||
member: member
|
||||
}
|
||||
})
|
||||
)
|
||||
|
||||
const guildData = (await getGuild(hypixelGuildID, "id")) as IGuildData
|
||||
|
||||
Reference in New Issue
Block a user