From 71f6e2a013f528ef4182dceaf115d597fdb5d7f2 Mon Sep 17 00:00:00 2001 From: Ahmad <103906421+ahmadk953@users.noreply.github.com> Date: Sat, 1 Mar 2025 01:01:52 -0500 Subject: [PATCH] Fixed Linting issues --- src/events/ready.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/events/ready.ts b/src/events/ready.ts index 2db86ae..2430295 100644 --- a/src/events/ready.ts +++ b/src/events/ready.ts @@ -10,12 +10,14 @@ export default { execute: async (client: Client) => { const config = loadConfig(); try { - const guild = client.guilds.cache.find((guild) => guild.id === config.guildId); + const guild = client.guilds.cache.find( + (guilds) => guilds.id === config.guildId, + ); if (!guild) { console.error(`Guild with ID ${config.guildId} not found.`); return; } - + const members = await guild.members.fetch(); const nonBotMembers = members.filter((m) => !m.user.bot); await setMembers(nonBotMembers);