From f5cec42fc978a33333d39886ba595d6ed97cec93 Mon Sep 17 00:00:00 2001 From: JoshuaMicallefYBSU <91457812+JoshuaMicallefYBSU@users.noreply.github.com> Date: Tue, 22 Oct 2024 17:21:04 +1000 Subject: [PATCH] kcad iajc --- app/Jobs/DiscordAccountCheck.php | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/app/Jobs/DiscordAccountCheck.php b/app/Jobs/DiscordAccountCheck.php index cd0f64ca..1422da1d 100644 --- a/app/Jobs/DiscordAccountCheck.php +++ b/app/Jobs/DiscordAccountCheck.php @@ -99,6 +99,11 @@ public function handle() if($user->discord_user_id == 350995372627197954){ continue; } + + // Skip Joshua (Broken for him) + if($user->discord_user_id == 200426385863344129){ + continue; + } // Roles Calculation { @@ -240,12 +245,14 @@ public function handle() } // Update user - $discord->getClient()->patch('guilds/'.env('DISCORD_GUILD_ID').'/members/'.$user->discord_user_id, [ - 'json' => [ - 'nick' => $name, - 'roles' => $rolesToAdd, - ] - ]); + // $discord->getClient()->patch('guilds/'.env('DISCORD_GUILD_ID').'/members/'.$user->discord_user_id, [ + // 'json' => [ + // 'nick' => $name, + // 'roles' => $discord_roles, + // ] + // ]); + + $discord->sendMessageWithEmbed('488265136696459292', 'Roles: '. $user->fullName('FLC'), $discord_roles); } else {